Skip to content

Commit 50074d7

Browse files
committed
Remove appType variable
1 parent 4f64086 commit 50074d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/argocd/update.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,10 +443,9 @@ func marshalParamsOverride(app *v1alpha1.Application, originalData []byte) ([]by
443443
var override []byte
444444
var err error
445445

446-
appType := GetApplicationType(app)
447446
appSource := getApplicationSource(app)
448447

449-
switch appType {
448+
switch GetApplicationType(app) {
450449
case ApplicationTypeKustomize:
451450
if appSource.Kustomize == nil {
452451
return []byte{}, nil

0 commit comments

Comments
 (0)