Skip to content

Commit

Permalink
Fix typo in redis_client.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglun authored Sep 20, 2017
1 parent 557daef commit 0346bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cn/redis_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ request.AddCommand("INCR counter1");
request.AddCommand("DECR counter1");
request.AddCommand("INCRBY counter1 10");
request.AddCommand("DECRBY counter1 20");
redis_channel.CallMethod(NULL, &cntl, &get_request, &response, NULL/*done*/);
redis_channel.CallMethod(NULL, &cntl, &request, &response, NULL/*done*/);
if (cntl.Failed()) {
LOG(ERROR) << "Fail to access redis-server";
return -1;
Expand Down

0 comments on commit 0346bab

Please sign in to comment.