Skip to content

Commit

Permalink
Delete unused code (#19061)
Browse files Browse the repository at this point in the history
func GetRedisOfRegURL is not referenced.

Signed-off-by: bin liu <liubin0329@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
  • Loading branch information
liubin and wy65701436 committed Aug 29, 2023
1 parent 39f3230 commit 7ed1920
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lib/config/systemconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7ed1920

Please sign in to comment.