Skip to content

Commit

Permalink
Add double quotes to rename-command.
Browse files Browse the repository at this point in the history
This allows constructions like `rename-command "monitor" ""`.
  • Loading branch information
logdnalf committed Jan 31, 2020
1 parent 30a0127 commit 19542b3
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 @@ -25,7 +25,7 @@ tcp-keepalive 60
save 900 1
save 300 10
{{- range .Spec.Redis.CustomCommandRenames}}
rename-command {{.From}} {{.To}}
rename-command "{{.From}}" "{{.To}}"
{{- end}}
`
redisShutdownConfigurationVolumeName = "redis-shutdown-config"
Expand Down

0 comments on commit 19542b3

Please sign in to comment.