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> | |
Mon, 10 Nov 2014 06:45:23 +0000 (07:45 +0100) | ||
commit | e247824272066b51d5b672f053c138c6b30ab865 | |
tree | 16d9bc1a29a0f2b713f667bb86fe95d4567d10c7 | tree | snapshot |
parent | cca6157fec10885c157ff6340b9b4d6bfcf5284f | 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 |