mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
update error message
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user