From adb58086c55bd5ce6a2fa0240976042ab48dc4ee Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Tue, 22 May 2018 14:02:44 -0700 Subject: [PATCH] update error message --- nomad/node_endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomad/node_endpoint.go b/nomad/node_endpoint.go index 4822b4a76..65b937439 100644 --- a/nomad/node_endpoint.go +++ b/nomad/node_endpoint.go @@ -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