diff --git a/nomad/structs/node_class.go b/nomad/structs/node_class.go index e0d7d7b74..b37bf926a 100644 --- a/nomad/structs/node_class.go +++ b/nomad/structs/node_class.go @@ -54,7 +54,7 @@ func (n Node) HashInclude(field string, v interface{}) (bool, error) { func (n Node) HashIncludeMap(field string, k, v interface{}) (bool, error) { key, ok := k.(string) if !ok { - return false, fmt.Errorf("map key %v not a string") + return false, fmt.Errorf("map key %v not a string", k) } switch field {