diff --git a/.changelog/13656.txt b/.changelog/13656.txt new file mode 100644 index 000000000..951a780f0 --- /dev/null +++ b/.changelog/13656.txt @@ -0,0 +1,3 @@ +```release-note:bug +cli: Fixed a bug in the names of the `node drain` and `node status` sub-commands +``` diff --git a/command/node_drain.go b/command/node_drain.go index 38cab3284..c9ce8cccc 100644 --- a/command/node_drain.go +++ b/command/node_drain.go @@ -126,7 +126,7 @@ func (c *NodeDrainCommand) AutocompleteArgs() complete.Predictor { }) } -func (c *NodeDrainCommand) Name() string { return "node-drain" } +func (c *NodeDrainCommand) Name() string { return "node drain" } func (c *NodeDrainCommand) Run(args []string) int { var enable, disable, detach, force, diff --git a/command/node_status.go b/command/node_status.go index cab875b8a..cd44f0154 100644 --- a/command/node_status.go +++ b/command/node_status.go @@ -141,7 +141,7 @@ func (c *NodeStatusCommand) AutocompleteArgs() complete.Predictor { }) } -func (c *NodeStatusCommand) Name() string { return "node-status" } +func (c *NodeStatusCommand) Name() string { return "node status" } func (c *NodeStatusCommand) Run(args []string) int {