From 36f58acda5447c150b996397c59dd2c7d76e8fcb Mon Sep 17 00:00:00 2001 From: Rotem Cohen Date: Wed, 24 Nov 2021 12:14:18 +0200 Subject: [PATCH] CR-7685 Failed installing into a repo sub-directory (#206) * sent the prepared repo FS instead of CloneOpts.FS bump version * change log fix * revert some changes * revert some changes * revert --- cmd/commands/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/commands/app.go b/cmd/commands/app.go index 11c5b4de..64f42683 100644 --- a/cmd/commands/app.go +++ b/cmd/commands/app.go @@ -215,7 +215,7 @@ func RunAppCreate(ctx context.Context, opts *AppCreateOptions) error { } if opts.Timeout > 0 { - namespace, err := getInstallationNamespace(opts.CloneOpts.FS) + namespace, err := getInstallationNamespace(repofs) if err != nil { return fmt.Errorf("failed to get application namespace: %w", err) }