mirror of https://github.com/status-im/consul.git
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
2231dd9d1e
commit
19921290c4
|
@ -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