Skip to content

Commit

Permalink
return false as default, but modify to true if annotation not exists
Browse files Browse the repository at this point in the history
Signed-off-by: pashakostohrys <[email protected]>
  • Loading branch information
pasha-codefresh committed Sep 6, 2024
1 parent 3536573 commit 842a62e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controller/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ func (m *appStateManager) GetRepoObjs(app *v1alpha1.Application, sources []v1alp
return nil, nil, false, fmt.Errorf("failed to get ref sources: %w", err)
}

// by default should be for regular sync, if application has no AnnotationKeyManifestGeneratePaths , it should work as before
revisionUpdated := false

keyManifestGenerateAnnotationVal, keyManifestGenerateAnnotationExists := app.Annotations[v1alpha1.AnnotationKeyManifestGeneratePaths]
Expand Down

0 comments on commit 842a62e

Please sign in to comment.