Skip to content

Commit

Permalink
revert hostname change
Browse files Browse the repository at this point in the history
  • Loading branch information
samof76 committed Dec 18, 2022
1 parent 6816b14 commit 26cce75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/redisfailover/service/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func generateRedisStatefulSet(rf *redisfailoverv1.RedisFailover, labels map[stri
Command: []string{
"sh",
"-c",
fmt.Sprintf("redis-cli -h 127.0.0.1 -p %[1]v ping --user pinger --pass pingpass --no-auth-warning", rf.Spec.Redis.Port),
fmt.Sprintf("redis-cli -h ${hostname} -p %[1]v ping --user pinger --pass pingpass --no-auth-warning", rf.Spec.Redis.Port),
},
},
},
Expand Down

0 comments on commit 26cce75

Please sign in to comment.