File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,15 @@ import (
99 "text/template"
1010 "time"
1111
12+ "golang.org/x/exp/slices"
13+
1214 "github.com/argoproj-labs/argocd-image-updater/ext/git"
1315 "github.com/argoproj-labs/argocd-image-updater/pkg/common"
1416 "github.com/argoproj-labs/argocd-image-updater/pkg/image"
1517 "github.com/argoproj-labs/argocd-image-updater/pkg/kube"
1618 "github.com/argoproj-labs/argocd-image-updater/pkg/log"
1719 "github.com/argoproj-labs/argocd-image-updater/pkg/registry"
1820 "github.com/argoproj-labs/argocd-image-updater/pkg/tag"
19- "golang.org/x/exp/slices"
2021
2122 "github.com/argoproj/argo-cd/v2/pkg/apiclient/application"
2223 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
@@ -420,7 +421,7 @@ func marshalParamsOverride(app *v1alpha1.Application, originalData []byte) ([]by
420421 override , err = yaml .Marshal (newParams )
421422 break
422423 }
423- err : = yaml .Unmarshal (originalData , & params )
424+ err = yaml .Unmarshal (originalData , & params )
424425 if err != nil {
425426 override , err = yaml .Marshal (newParams )
426427 break
You can’t perform that action at this time.
0 commit comments