Skip to content

Commit

Permalink
[DEVOPS-620] Change type of response when calling sentinel
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Chana committed Dec 15, 2017
1 parent 648bcd7 commit eeafd82
Showing 1 changed file with 1 addition and 1 deletion.
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 eeafd82

Please sign in to comment.