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

Commit bc01f23

Browse files
committed
Merge pull request #203 from gregoryb/master
Added the key as argument of the dump command.
2 parents 05ef270 + 5c95067 commit bc01f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Redis/RedisNativeClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public byte[] Dump(string key)
311311
if (key == null)
312312
throw new ArgumentNullException("key");
313313

314-
return SendExpectData(Commands.Dump);
314+
return SendExpectData(Commands.Dump, key.ToUtf8Bytes());
315315
}
316316

317317
public byte[] Restore(string key, long expireMs, byte[] dumpValue)

0 commit comments

Comments
 (0)