From d3f74ce5b8b41bf3014a96bd33ef280142b16714 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Wed, 27 Jan 2016 09:23:57 -0800 Subject: [PATCH] Fix vet --- nomad/structs/node_class.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {