Skip to content

Commit

Permalink
Merge pull request #9 from spotahome/devops-620-fix-redis-parse-while…
Browse files Browse the repository at this point in the history
…-checking

Devops 620 fix redis parse while checking
  • Loading branch information
ese authored Dec 15, 2017
2 parents 648bcd7 + 4573d72 commit da955e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The following are targers that do not exist in the filesystem as real files and should be always executed by make
.PHONY: default build deps-development docker-build shell run image unit-test test generate go-generate get-deps update-deps
VERSION := 0.1.1
VERSION := 0.1.2

# Name of this service/application
SERVICE_NAME := redis-operator
Expand Down
2 changes: 1 addition & 1 deletion pkg/redis/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (c *client) ResetSentinel(ip string) error {
DB: 0,
}
rClient := rediscli.NewClient(options)
cmd := rediscli.NewStringCmd("SENTINEL", "reset", "*")
cmd := rediscli.NewIntCmd("SENTINEL", "reset", "*")
rClient.Process(cmd)
rClient.Close()
_, err := cmd.Result()
Expand Down

0 comments on commit da955e4

Please sign in to comment.