mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
update error message
This commit is contained in:
@@ -445,7 +445,7 @@ func (n *Node) UpdateDrain(args *structs.NodeUpdateDrainRequest,
|
||||
return fmt.Errorf("missing node ID for drain update")
|
||||
}
|
||||
if args.NodeEvent != nil {
|
||||
return fmt.Errorf("node event may not be set")
|
||||
return fmt.Errorf("node event must not be set")
|
||||
}
|
||||
|
||||
// Look for the node
|
||||
|
||||
Reference in New Issue
Block a user