mirror of https://github.com/status-im/consul.git
agent: Fixing UiDir in test
This commit is contained in:
parent
485f0a0c93
commit
666cf3c483
|
@ -25,6 +25,7 @@ func makeHTTPServer(t *testing.T) (string, *HTTPServer) {
|
||||||
if err := os.Mkdir(uiDir, 755); err != nil {
|
if err := os.Mkdir(uiDir, 755); err != nil {
|
||||||
t.Fatalf("err: %v", err)
|
t.Fatalf("err: %v", err)
|
||||||
}
|
}
|
||||||
|
conf.UiDir = uiDir
|
||||||
servers, err := NewHTTPServers(agent, conf, agent.logOutput)
|
servers, err := NewHTTPServers(agent, conf, agent.logOutput)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("err: %v", err)
|
t.Fatalf("err: %v", err)
|
||||||
|
|
Loading…
Reference in New Issue