agent: fix test compilation

This commit is contained in:
Ryan Uber 2015-02-20 18:17:12 -08:00
parent c15029dc30
commit 92794ded6e
1 changed files with 1 additions and 1 deletions

View File

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