Skip to content

Commit

Permalink
fix(cli): add support for Application in any namespace for `app delet…
Browse files Browse the repository at this point in the history
…e` cmd

Use fully qualified application names when operate with Applications

Closes: argoproj#16896

Signed-off-by: Sergiy Kulanov <[email protected]>
  • Loading branch information
SergK committed Jan 17, 2024
1 parent c7bf064 commit e91cfa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/argocd/commands/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,7 @@ func getAppNamesBySelector(ctx context.Context, appIf application.ApplicationSer
return []string{}, fmt.Errorf("no apps match selector %v", selector)
}
for _, i := range list.Items {
appNames = append(appNames, i.Name)
appNames = append(appNames, i.QualifiedName())
}
}
return appNames, nil
Expand Down

0 comments on commit e91cfa4

Please sign in to comment.