mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 13:45:20 +01:00
Delete unused code (#19061)
func GetRedisOfRegURL is not referenced. Signed-off-by: bin liu <liubin0329@gmail.com> Co-authored-by: Wang Yan <wangyan@vmware.com>
This commit is contained in:
parent
39f3230608
commit
7ed1920d66
@ -83,11 +83,6 @@ func JobserviceSecret() string {
|
|||||||
return os.Getenv("JOBSERVICE_SECRET")
|
return os.Getenv("JOBSERVICE_SECRET")
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetRedisOfRegURL returns the URL of Redis used by registry
|
|
||||||
func GetRedisOfRegURL() string {
|
|
||||||
return os.Getenv("_REDIS_URL_REG")
|
|
||||||
}
|
|
||||||
|
|
||||||
// GetPortalURL returns the URL of portal
|
// GetPortalURL returns the URL of portal
|
||||||
func GetPortalURL() string {
|
func GetPortalURL() string {
|
||||||
url := os.Getenv("PORTAL_URL")
|
url := os.Getenv("PORTAL_URL")
|
||||||
|
Loading…
Reference in New Issue
Block a user