author | Marc Fournier <marc.fournier@camptocamp.com> | |
Sat, 8 Nov 2014 23:16:11 +0000 (00:16 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Sat, 8 Nov 2014 23:16:11 +0000 (00:16 +0100) | ||
commit | 6725a91fd6be18b6f3475fc0eeccfb6424a73f5c | |
tree | a50c826972e2d744891906e01bda4632cdf20465 | tree | snapshot |
parent | 1bbb3846fb60e220721c7c29fb5ef214d99c2293 | commit | diff |
write_redis: re-add colon dropped in b7984797
When running f3706b0b87, the following command gets sent to redis:
"ZADD" "collectd/hostname/entropy/entropy" "1415487432.000000" "1415487432:932"
Meaning the value actually stored, and later returned by redis is:
"<timstamp>:<value>".
b7984797 accidentally dropped the comma separating the timestamp and the
value, which leads the plugin to store a somewhat confusing value in
redis:
"ZADD" "collectd/hostname/entropy/entropy" "1415487432.000000" "1415487432932"
When running f3706b0b87, the following command gets sent to redis:
"ZADD" "collectd/hostname/entropy/entropy" "1415487432.000000" "1415487432:932"
Meaning the value actually stored, and later returned by redis is:
"<timstamp>:<value>".
b7984797 accidentally dropped the comma separating the timestamp and the
value, which leads the plugin to store a somewhat confusing value in
redis:
"ZADD" "collectd/hostname/entropy/entropy" "1415487432.000000" "1415487432932"
src/write_redis.c | diff | blob | history |