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:
Bin Liu 2023-08-29 19:23:20 +08:00 committed by GitHub
parent 39f3230608
commit 7ed1920d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")