Skip to content

Commit

Permalink
fix(cli): add support for Application in any namespace for app wait (a…
Browse files Browse the repository at this point in the history
…rgoproj#16812)

Use fully qualified application names in ApplicationWaitCommand

Closes: argoproj#16812

Signed-off-by: Sergiy Kulanov <[email protected]>
  • Loading branch information
SergK committed Jan 10, 2024
1 parent 54f1572 commit 6f97658
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 @@ -1624,7 +1624,7 @@ func NewApplicationWaitCommand(clientOpts *argocdclient.ClientOptions) *cobra.Co
list, err := appIf.List(ctx, &application.ApplicationQuery{Selector: pointer.String(selector)})
errors.CheckError(err)
for _, i := range list.Items {
appNames = append(appNames, i.Name)
appNames = append(appNames, i.QualifiedName())
}
}
for _, appName := range appNames {
Expand Down

0 comments on commit 6f97658

Please sign in to comment.