Error with new actions run suggestion (#2434)

This commit is contained in:
Simon Behar 2019-10-08 12:24:05 -07:00 committed by Alex Collins
parent 61d1c1c722
commit f45991c8a7

View file

@ -160,7 +160,7 @@ func NewApplicationResourceActionsRunCommand(clientOpts *argocdclient.ClientOpti
if all {
commandTail += " --all"
}
fmt.Printf("\nWarning: \"resume\" action has been deprecated. Please run the action as\n\n\targocd app run %s argoproj.io/Rollout/resume%s\n\n", appName, commandTail)
fmt.Printf("\nWarning: this syntax for running the \"resume\" action has been deprecated. Please run the action as\n\n\targocd app actions run %s argoproj.io/Rollout/resume%s\n\n", appName, commandTail)
} else {
group, kind, actionNameOnly = parseActionName(actionName)
}