Skip to content

Commit 69cbf69

Browse files
authored
Add auth to commandmap for sentinel servers (#1428)
Sentinel servers can be set to require auth like regular servers.
1 parent 34e9ace commit 69cbf69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StackExchange.Redis/CommandMap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ internal CommandMap(CommandBytes[] map)
7272
/// <remarks>https://redis.io/topics/sentinel</remarks>
7373
public static CommandMap Sentinel { get; } = Create(new HashSet<string> {
7474
// see https://redis.io/topics/sentinel
75-
"ping", "info", "sentinel", "subscribe", "shutdown", "psubscribe", "unsubscribe", "punsubscribe" }, true);
75+
"auth", "ping", "info", "sentinel", "subscribe", "shutdown", "psubscribe", "unsubscribe", "punsubscribe" }, true);
7676

7777
/// <summary>
7878
/// Create a new CommandMap, customizing some commands

0 commit comments

Comments
 (0)