@@ -17,7 +17,7 @@ import (
1717 "github.com/argoproj-labs/argocd-autopilot/pkg/store"
1818 "github.com/argoproj-labs/argocd-autopilot/pkg/util"
1919
20- argocdv1alpha1 "github.com/argoproj/argo-cd/v2 /pkg/apis/application/v1alpha1"
20+ argocdv1alpha1 "github.com/argoproj/argo-cd/v3 /pkg/apis/application/v1alpha1"
2121 "github.com/go-git/go-billy/v5/memfs"
2222 "github.com/go-git/go-billy/v5/osfs"
2323 billyUtils "github.com/go-git/go-billy/v5/util"
@@ -264,7 +264,7 @@ var setAppOptsDefaults = func(ctx context.Context, repofs fs.FS, opts *AppCreate
264264 if opts .AppOpts .Labels == nil {
265265 opts .AppOpts .Labels = opts .Labels
266266 }
267-
267+
268268 if opts .AppOpts .Annotations == nil {
269269 opts .AppOpts .Annotations = opts .Annotations
270270 }
@@ -282,10 +282,10 @@ var setAppOptsDefaults = func(ctx context.Context, repofs fs.FS, opts *AppCreate
282282 url := host + orgRepo + suffix
283283 log .G (ctx ).Infof ("cloning repo: '%s', to infer app type from path '%s'" , url , p )
284284 cloneOpts := & git.CloneOptions {
285- Repo : opts .AppOpts .AppSpecifier ,
286- Auth : opts .CloneOpts .Auth ,
285+ Repo : opts .AppOpts .AppSpecifier ,
286+ Auth : opts .CloneOpts .Auth ,
287287 Provider : opts .CloneOpts .Provider ,
288- FS : fs .Create (memfs .New ()),
288+ FS : fs .Create (memfs .New ()),
289289 }
290290 cloneOpts .Parse ()
291291 _ , fsys , err = getRepo (ctx , cloneOpts )
0 commit comments