update error message

This commit is contained in:
Alex Dadgar 2018-05-22 14:02:44 -07:00
parent 5f2080bc26
commit 1fe9cb4f00
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ func (n *Node) UpdateEligibility(args *structs.NodeUpdateEligibilityRequest,
return fmt.Errorf("missing node ID for setting scheduling eligibility")
}
if args.NodeEvent != nil {
return fmt.Errorf("node event may not be set")
return fmt.Errorf("node event must not be set")
}
// Check that only allowed types are set