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

Commit b9a0963

Browse files
committed
typo
1 parent 321e944 commit b9a0963

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ServiceStack.Redis/RedisNativeClient.Async.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ ValueTask IRedisNativeClientAsync.ClientKillAsync(string clientAddr, Cancellatio
709709
=> SendExpectSuccessAsync(token, Commands.Client, Commands.Kill, clientAddr.ToUtf8Bytes());
710710

711711
ValueTask<long> IRedisNativeClientAsync.ClientKillAsync(string addr, string id, string type, string skipMe, CancellationToken token)
712-
=> SendExpectLongAsync(token, ClientKillPerpareArgs(addr, id, type, skipMe));
712+
=> SendExpectLongAsync(token, ClientKillPrepareArgs(addr, id, type, skipMe));
713713

714714
ValueTask<byte[]> IRedisNativeClientAsync.ClientListAsync(CancellationToken token)
715715
=> SendExpectDataAsync(token, Commands.Client, Commands.List);

src/ServiceStack.Redis/RedisNativeClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -897,10 +897,10 @@ public void ClientKill(string clientAddr)
897897

898898
public long ClientKill(string addr = null, string id = null, string type = null, string skipMe = null)
899899
{
900-
return SendExpectLong(ClientKillPerpareArgs(addr, id, type, skipMe));
900+
return SendExpectLong(ClientKillPrepareArgs(addr, id, type, skipMe));
901901
}
902902

903-
static byte[][] ClientKillPerpareArgs(string addr, string id, string type, string skipMe)
903+
static byte[][] ClientKillPrepareArgs(string addr, string id, string type, string skipMe)
904904
{
905905
var cmdWithArgs = new List<byte[]>
906906
{

0 commit comments

Comments
 (0)