mirror of
https://github.com/goharbor/harbor
synced 2025-04-17 20:02:22 +00:00
bug fix
This commit is contained in:
parent
49f52ef8f8
commit
3c64ae340e
|
@ -379,7 +379,7 @@ func AdmiralEndpoint() string {
|
|||
return ""
|
||||
}
|
||||
if e, ok := cfg[common.AdmiralEndpoint].(string); !ok || e == "NA" {
|
||||
cfg[common.AdmiralEndpoint] = ""
|
||||
return ""
|
||||
}
|
||||
return cfg[common.AdmiralEndpoint].(string)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user