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

Commit 14afb2c

Browse files
committed
Merge pull request #202 from georiot/master
Fixing HIncrbyFloat to call proper redis command
2 parents c2777c9 + be88f71 commit 14afb2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ServiceStack.Redis/RedisNativeClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ public double HIncrbyFloat(string hashId, byte[] key, double incrementBy)
17401740
{
17411741
AssertHashIdAndKey(hashId, key);
17421742

1743-
return SendExpectDouble(Commands.HIncrBy, hashId.ToUtf8Bytes(), key, incrementBy.ToString(CultureInfo.InvariantCulture).ToUtf8Bytes());
1743+
return SendExpectDouble(Commands.HIncrByFloat, hashId.ToUtf8Bytes(), key, incrementBy.ToString(CultureInfo.InvariantCulture).ToUtf8Bytes());
17441744
}
17451745

17461746
public byte[] HGet(string hashId, byte[] key)

0 commit comments

Comments
 (0)