update error message
This commit is contained in:
parent
9a2237bdab
commit
b6ecb75af9
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue