Skip to content

Commit eb304fd

Browse files
author
OpenShift Bot
authored
Merge pull request #12226 from mfojtik/drain
Merged by openshift-bot
2 parents f8b5dd6 + a896a4d commit eb304fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/admin/node/node.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func NewCommandManageNode(f *clientcmd.Factory, commandName, fullName string, ou
103103
// Supported operations
104104
flags.BoolVar(&schedulable, "schedulable", false, "Control pod schedulability on the node.")
105105
flags.BoolVar(&evacuate, "evacuate", false, "Migrate all/selected pods on the node.")
106-
flags.MarkDeprecated("evacuate", fmt.Sprintf("use '%s drain NODE' instead", fullName))
106+
flags.MarkDeprecated("evacuate", "use 'oadm drain NODE' instead")
107107
flags.BoolVar(&listpods, "list-pods", false, "List all/selected pods on the node. Printer flags --output, etc. are only valid for this option.")
108108

109109
// Common optional params

0 commit comments

Comments
 (0)