Skip to content

Commit

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

Signed-off-by: bin liu <[email protected]>
  • Loading branch information
liubin committed Aug 1, 2023
1 parent 854e029 commit add4224
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 add4224

Please sign in to comment.