From: Brian Kelly Date: Fri, 17 Jul 2015 13:05:21 +0000 (-0400) Subject: write_redis plugin: Fix ZREMBYRANK command debug message X-Git-Tag: collectd-5.6.0~587 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=860bf13b5fb56582e8764e22cbb6837092cc2281;p=collectd.git write_redis plugin: Fix ZREMBYRANK command debug message --- diff --git a/src/write_redis.c b/src/write_redis.c index 8dea10c8..eb4e2c59 100644 --- a/src/write_redis.c +++ b/src/write_redis.c @@ -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); }