Skip to content

Commit 0e28558

Browse files
committed
Remove unncessary string conversion
Signed-off-by: Fs02 <[email protected]>
1 parent 0c425c3 commit 0e28558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/argocd/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ func writeKustomization(app *v1alpha1.Application, wbc *WriteBackConfig, gitC gi
334334
return err, false
335335
}
336336

337-
if string(originalData) == string(override) {
337+
if originalData == override {
338338
logCtx.Debugf("target parameter file and marshaled data are the same, skipping commit.")
339339
return nil, true
340340
}

0 commit comments

Comments
 (0)