Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 3c577b1

Browse files
committed
making whitespace formatting consistent
1 parent da1c675 commit 3c577b1

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

src/ServiceStack.Redis/Commands.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public static class Commands
181181
public readonly static byte[] Nx = "NX".ToUtf8Bytes();
182182
public readonly static byte[] Xx = "XX".ToUtf8Bytes();
183183

184-
// Sentinel commands
185-
public readonly static byte[] Sentinel = "SENTINEL".ToUtf8Bytes();
184+
// Sentinel commands
185+
public readonly static byte[] Sentinel = "SENTINEL".ToUtf8Bytes();
186186
}
187187
}

src/ServiceStack.Redis/RedisNativeClient.cs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,23 +1209,23 @@ public byte[] BRPopLPush(string fromListId, string toListId, int timeOutSecs)
12091209
return result.Length == 0 ? null : result[1];
12101210
}
12111211

1212-
public object[] Sentinel(string command, string master = null)
1213-
{
1214-
if (command == null)
1215-
throw new ArgumentNullException("command");
1212+
public object[] Sentinel(string command, string master = null)
1213+
{
1214+
if (command == null)
1215+
throw new ArgumentNullException("command");
12161216

1217-
var args = new List<byte[]>()
1218-
{
1219-
Commands.Sentinel,
1220-
command.ToUtf8Bytes()
1221-
};
1217+
var args = new List<byte[]>()
1218+
{
1219+
Commands.Sentinel,
1220+
command.ToUtf8Bytes()
1221+
};
12221222

1223-
if (master != null)
1224-
{
1225-
args.Add(master.ToUtf8Bytes());
1226-
}
1227-
return SendExpectDeeplyNestedMultiData(args.ToArray());
1228-
}
1223+
if (master != null)
1224+
{
1225+
args.Add(master.ToUtf8Bytes());
1226+
}
1227+
return SendExpectDeeplyNestedMultiData(args.ToArray());
1228+
}
12291229

12301230
#endregion
12311231

tests/ServiceStack.Redis.Tests/TestConfig.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ static TestConfig()
1212

1313
public const bool IgnoreLongTests = true;
1414

15-
public const string SingleHost = "localhost";
16-
public const string MasterName = "mymaster";
15+
public const string SingleHost = "localhost";
16+
public const string MasterName = "mymaster";
1717
public static readonly string[] MasterHosts = new[] { "localhost" };
1818
public static readonly string[] SlaveHosts = new[] { "localhost" };
1919

2020
public const int RedisPort = 6379;
21-
public const int RedisSentinelPort = 26379;
21+
public const int RedisSentinelPort = 26379;
2222

2323
public static string SingleHostConnectionString
2424
{

0 commit comments

Comments
 (0)