Fix the issue of causing config test failed

This commit is contained in:
Steven Zou 2018-03-28 12:40:36 +08:00
parent 0562f9fa35
commit 3ce31586df
2 changed files with 3 additions and 3 deletions

View File

@ -82,8 +82,8 @@ func TestDefaultConfig(t *testing.T) {
t.Errorf("Load config from yaml file, expect nil error but got error '%s'\n", err)
}
if endpoint := GetAdminServerEndpoint(); endpoint != "http://127.0.0.1:8888/" {
t.Errorf("expect default admin server endpoint 'http://127.0.0.1:8888/' but got '%s'\n", endpoint)
if endpoint := GetAdminServerEndpoint(); endpoint != "http://127.0.0.1:8888" {
t.Errorf("expect default admin server endpoint 'http://127.0.0.1:8888' but got '%s'\n", endpoint)
}
if basePath := GetLogBasePath(); basePath != "/tmp/job_logs" {

View File

@ -28,5 +28,5 @@ logger:
archive_period: 1 #days
#Admin server endpoint
admin_server: "http://127.0.0.1:8888/"
admin_server: "http://127.0.0.1:8888"