Skip to content

Commit

Permalink
fix: url expansion for redis url
Browse files Browse the repository at this point in the history
  • Loading branch information
olivercodes committed Aug 4, 2023
1 parent 84ffa00 commit 5ecce64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lab-api-teams/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func main() {
redisPassword := os.Getenv("REDIS_PASSWORD")
redisUrl := os.Getenv("REDIS_URL")
if len(redisUrl) == 0 {
redisUrl = "redis-master.twdps-core-labs-team-dev.svc.cluster.local"
redisUrl = "redis-master"
}

router := gin.Default()
Expand Down

0 comments on commit 5ecce64

Please sign in to comment.