Skip to content

Commit 800116f

Browse files
committed
fix issue in StreamTutorial
1 parent 9286b63 commit 800116f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Doc/StreamTutorial.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public void run()
201201

202202
// STEP_START xadd_7
203203
RedisValue res11 = "";
204-
Version version = GetConnection("localhost:6379").GetServers()[0].Version;
204+
Version version = muxer.GetServer("localhost:6379").Version;
205205
if (version.Major >= 7)
206206
{
207207
res11 = db.StreamAdd(

0 commit comments

Comments
 (0)