Skip to content

Commit 3095636

Browse files
committed
🔊 redis log
modified: main.go
1 parent e3beba0 commit 3095636

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ func main() {
8686
Password: redisPassword, // no password set
8787
DB: int(redisDB), // use default DB
8888
})
89+
log.Info(&redis.Options{
90+
Addr: redisHost + ":" + redisPort,
91+
Password: redisPassword, // no password set
92+
DB: int(redisDB), // use default DB
93+
})
94+
log.Info(redisClient)
8995

9096
flag.BoolVar(&enableIncrease, "enable-increase", true, "Enables the controller to increase pod requests")
9197
flag.BoolVar(&enableReduce, "enable-reduce", true, "Enables the controller to reduce pod requests")

0 commit comments

Comments
 (0)