Skip to content

Commit 473727a

Browse files
author
jmccormick2001
committed
cleanup pgo upgrade error message in CLI related to selector not being a valid flag
1 parent c9432bd commit 473727a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgo/cmd/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var upgradeCmd = &cobra.Command{
4343
Run: func(cmd *cobra.Command, args []string) {
4444
log.Debug("upgrade called")
4545
if len(args) == 0 && Selector == "" {
46-
fmt.Println(`Error: You must specify the cluster to upgrade or a selector value.`)
46+
fmt.Println(`Error: You must specify the cluster to upgrade.`)
4747
} else {
4848
err := validateCreateUpdate(args)
4949
if err != nil {

0 commit comments

Comments
 (0)