agent: Fixing UiDir in test

This commit is contained in:
Armon Dadgar 2014-11-19 13:29:15 -08:00
parent 485f0a0c93
commit 666cf3c483
1 changed files with 1 additions and 0 deletions

View File

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