mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
node eligibility command
This commit is contained in:
committed by
Michael Schurter
parent
0fb9ba7732
commit
378c566294
@@ -269,5 +269,7 @@ func (c *NodeDrainCommand) Run(args []string) int {
|
||||
c.Ui.Error(fmt.Sprintf("Error updating drain specification: %s", err))
|
||||
return 1
|
||||
}
|
||||
|
||||
c.Ui.Output(fmt.Sprintf("Node %q drain strategy set", node.ID))
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user