minisentinel icon indicating copy to clipboard operation
minisentinel copied to clipboard

ERR unknown command `auth`

Open zalegrala opened this issue 3 years ago • 0 comments

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?

zalegrala avatar Jun 01 '22 14:06 zalegrala