Skip to content

Commit

Permalink
CR-7685 Failed installing into a repo sub-directory (#206)
Browse files Browse the repository at this point in the history
* sent the prepared repo FS instead of CloneOpts.FS
bump version

* change log fix

* revert some changes

* revert some changes

* revert
  • Loading branch information
rotem-codefresh authored Nov 24, 2021
1 parent e8027d9 commit 36f58ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 36f58ac

Please sign in to comment.