mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-11 10:27:58 +01: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)
|
||||
}
|
||||
|
||||
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" {
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user