Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR unknown command auth #6

Open
zalegrala opened this issue Jun 1, 2022 · 0 comments · May be fixed by #7
Open

ERR unknown command auth #6

zalegrala opened this issue Jun 1, 2022 · 0 comments · May be fixed by #7

Comments

@zalegrala
Copy link

zalegrala commented Jun 1, 2022

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?

@laushunyu laushunyu linked a pull request Jan 4, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant