mirror of https://github.com/status-im/consul.git
agent: fix test compilation
This commit is contained in:
parent
ebebdd1c1e
commit
6f0fecc73c
|
@ -70,7 +70,7 @@ func testAgentWithConfig(t *testing.T, cb func(c *agent.Config)) *agentWrapper {
|
|||
|
||||
conf.Addresses.HTTP = "127.0.0.1"
|
||||
httpAddr := fmt.Sprintf("127.0.0.1:%d", conf.Ports.HTTP)
|
||||
http, err := agent.NewHTTPServers(a, conf, os.Stderr)
|
||||
http, err := agent.NewHTTPServers(a, conf, nil, os.Stderr)
|
||||
if err != nil {
|
||||
os.RemoveAll(dir)
|
||||
t.Fatalf(fmt.Sprintf("err: %v", err))
|
||||
|
|
Loading…
Reference in New Issue