Skip to content

Commit

Permalink
Revert back changes
Browse files Browse the repository at this point in the history
  • Loading branch information
samof76 committed Dec 18, 2022
1 parent 26cce75 commit 5d5ea75
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 ${hostname} -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 5d5ea75

Please sign in to comment.