update error message

This commit is contained in:
Alex Dadgar 2018-05-22 14:01:43 -07:00
parent 9a2237bdab
commit b6ecb75af9

View file

@ -445,7 +445,7 @@ func (n *Node) UpdateDrain(args *structs.NodeUpdateDrainRequest,
return fmt.Errorf("missing node ID for drain update") return fmt.Errorf("missing node ID for drain update")
} }
if args.NodeEvent != nil { 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 // Look for the node