mirror of
https://github.com/goharbor/harbor
synced 2025-04-22 01:35:29 +00:00
Fix the issue of causing config test failed
This commit is contained in:
parent
0562f9fa35
commit
3ce31586df
@ -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)
|
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/" {
|
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)
|
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" {
|
if basePath := GetLogBasePath(); basePath != "/tmp/job_logs" {
|
||||||
|
@ -28,5 +28,5 @@ logger:
|
|||||||
archive_period: 1 #days
|
archive_period: 1 #days
|
||||||
|
|
||||||
#Admin server endpoint
|
#Admin server endpoint
|
||||||
admin_server: "http://127.0.0.1:8888/"
|
admin_server: "http://127.0.0.1:8888"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user