write_redis plugin: Fix ZREMBYRANK command debug message
authorBrian Kelly <brianpkelly46@gmail.com>
Fri, 17 Jul 2015 13:05:21 +0000 (09:05 -0400)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 27 Oct 2015 23:03:47 +0000 (00:03 +0100)
src/write_redis.c

index 8dea10c..eb4e2c5 100644 (file)
@@ -124,7 +124,7 @@ static int wr_write (const data_set_t *ds, /* {{{ */
   {
     rr = redisCommand (node->conn, "ZREMRANGEBYRANK %s %d %d", key, 0, (-1 * node->max_set_size) - 1);
     if (rr == NULL)
-      WARNING("SELECT command error. database:%d message:%s", node->database, node->conn->errstr);
+      WARNING("ZREMRANGEBYRANK command error. database:%d message:%s", node->database, node->conn->errstr);
     else
       freeReplyObject (rr);
   }