We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12b626b commit 9a8f3cdCopy full SHA for 9a8f3cd
cmd/argocd/commands/app.go
@@ -776,8 +776,6 @@ func NewApplicationSetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Com
776
}
777
778
779
- // sourcePosition startes with 1, thus, it needs to be decreased by 1 to find the correct index in the list of sources
780
- sourcePosition = sourcePosition - 1
781
visited := cmdutil.SetAppSpecOptions(c.Flags(), &app.Spec, &appOpts, sourcePosition)
782
if visited == 0 {
783
log.Error("Please set at least one option to update")
0 commit comments