minisentinel
minisentinel copied to clipboard
ERR unknown command `auth`
Hello, I'm attempting to use the UniversalClient to attach to the running sentinal, and enable auth.
https://github.com/go-redis/redis/blob/master/universal.go#L12
pw := flagext.SecretWithValue("super-secret")
m, err := miniredis.Run()
if err != nil {
return nil, err
}
m.RequireAuth(pw.String())
s := minisentinel.NewSentinel(m, minisentinel.WithReplica(m))
s.Start()
s.RequireAuth(pw.String())
Is there something else required to enable the "auth" command?