update error message

This commit is contained in:
Alex Dadgar 2018-05-22 14:01:43 -07:00
parent 9a2237bdab
commit b6ecb75af9
1 changed files with 1 additions and 1 deletions

View File

@ -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