From 7ed1920d6602a2737356a88ab4e4e849e4f8ef10 Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Tue, 29 Aug 2023 19:23:20 +0800 Subject: [PATCH] Delete unused code (#19061) func GetRedisOfRegURL is not referenced. Signed-off-by: bin liu Co-authored-by: Wang Yan --- src/lib/config/systemconfig.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib/config/systemconfig.go b/src/lib/config/systemconfig.go index 5babc6550..1af4d8474 100644 --- a/src/lib/config/systemconfig.go +++ b/src/lib/config/systemconfig.go @@ -83,11 +83,6 @@ func JobserviceSecret() string { 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 func GetPortalURL() string { url := os.Getenv("PORTAL_URL")