From 19921290c445db1c3526f6e2f066fcfe38445ea7 Mon Sep 17 00:00:00 2001 From: James Nugent Date: Thu, 5 Jan 2017 09:28:12 -0600 Subject: [PATCH] cli: Fix printf format in KV Export Test Fix vet issue: command/kv_export_test.go:48: arg code for printf verb %s of wrong type: int --- command/kv_export_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/kv_export_test.go b/command/kv_export_test.go index 4c18925d02..9fa64982d9 100644 --- a/command/kv_export_test.go +++ b/command/kv_export_test.go @@ -45,7 +45,7 @@ func TestKVExportCommand_Run(t *testing.T) { var exported []*kvExportEntry err := json.Unmarshal([]byte(output), &exported) if err != nil { - t.Fatalf("bad: %s", code) + t.Fatalf("bad: %d", code) } if len(exported) != 3 {