mirror of https://github.com/status-im/consul.git
command: address vet report in test
Fixes the following vet report: command/rpc_test.go:61: missing argument for Fatalf(%s): format reads arg 3, have only 2 args
This commit is contained in:
parent
58806bc7bb
commit
60011d3e2e
|
@ -58,7 +58,7 @@ func TestAddrFlag_default(t *testing.T) {
|
||||||
res := getParsedAddr(t, a, "", "")
|
res := getParsedAddr(t, a, "", "")
|
||||||
|
|
||||||
if res != def {
|
if res != def {
|
||||||
t.Fatalf("Expected %s addr: %s, got: %s", def, res)
|
t.Fatalf("Expected addr: %s, got: %s", def, res)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue