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
This commit is contained in:
James Nugent 2017-01-05 09:28:12 -06:00
parent b6b30fcb37
commit 128b1e72dd
1 changed files with 1 additions and 1 deletions

View File

@ -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 {