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:
parent
b6b30fcb37
commit
128b1e72dd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue