]> git.ipfire.org Git - thirdparty/collectd.git/commit
cmds: Fix the PUTVAL command.
authorFlorian Forster <octo@google.com>
Wed, 15 Jul 2020 14:18:42 +0000 (16:18 +0200)
committerFlorian Forster <octo@google.com>
Wed, 29 Jul 2020 11:40:54 +0000 (13:40 +0200)
commit3e9f73d1a58f6ccccea6fa810390f20ec98392d1
treee4ff0d038589cbb4bfe349621ef8dc3cd11e9ff5
parent2a3285726c93b238fcfe93ed73bae46751006efe
cmds: Fix the PUTVAL command.

This is a partial roll-back of previous code that tried to convert PUTVAL
to use metric_t. This role is now filled by PUTMETRIC instead.

Modifications to the "common" plugin (particularly "parse_identifier" and
"parse_identifier_vl" fix the "cmds" unit tests.

The "cmd_create_putval" function has been removed because output will use
the new metric format instead.
src/utils/cmds/cmds.h
src/utils/cmds/cmds_test.c
src/utils/cmds/putval.c
src/utils/cmds/putval.h