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 (
9
9
"text/template"
10
10
"time"
11
11
12
+ "golang.org/x/exp/slices"
13
+
12
14
"github.com/argoproj-labs/argocd-image-updater/ext/git"
13
15
"github.com/argoproj-labs/argocd-image-updater/pkg/common"
14
16
"github.com/argoproj-labs/argocd-image-updater/pkg/image"
15
17
"github.com/argoproj-labs/argocd-image-updater/pkg/kube"
16
18
"github.com/argoproj-labs/argocd-image-updater/pkg/log"
17
19
"github.com/argoproj-labs/argocd-image-updater/pkg/registry"
18
20
"github.com/argoproj-labs/argocd-image-updater/pkg/tag"
19
- "golang.org/x/exp/slices"
20
21
21
22
"github.com/argoproj/argo-cd/v2/pkg/apiclient/application"
22
23
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
@@ -420,7 +421,7 @@ func marshalParamsOverride(app *v1alpha1.Application, originalData []byte) ([]by
420
421
override , err = yaml .Marshal (newParams )
421
422
break
422
423
}
423
- err : = yaml .Unmarshal (originalData , & params )
424
+ err = yaml .Unmarshal (originalData , & params )
424
425
if err != nil {
425
426
override , err = yaml .Marshal (newParams )
426
427
break
You can’t perform that action at this time.
0 commit comments