From 666cf3c4832f61a90ccb933f277c3560f5177a2f Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Wed, 19 Nov 2014 13:29:15 -0800 Subject: [PATCH] agent: Fixing UiDir in test --- command/agent/http_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/agent/http_test.go b/command/agent/http_test.go index d38b644ac5..a1570a9db0 100644 --- a/command/agent/http_test.go +++ b/command/agent/http_test.go @@ -25,6 +25,7 @@ func makeHTTPServer(t *testing.T) (string, *HTTPServer) { if err := os.Mkdir(uiDir, 755); err != nil { t.Fatalf("err: %v", err) } + conf.UiDir = uiDir servers, err := NewHTTPServers(agent, conf, agent.logOutput) if err != nil { t.Fatalf("err: %v", err)