]> git.ipfire.org Git - thirdparty/collectd.git/commit
format_json: Move conditional error logging to a separate function.
authorEero Tamminen <eero.t.tamminen@intel.com>
Fri, 15 Dec 2023 18:18:54 +0000 (19:18 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 3 Jan 2024 15:39:36 +0000 (16:39 +0100)
commitdd1b96b03b5476d71ece4f34717c4dc69a50d9cf
treee5ff65ad2e1ba1b3848c7306f1fe355d7bc1b783
parent458c31d8a391425a458624ef2ab600a34730f9c2
format_json: Move conditional error logging to a separate function.

This reduces the amount of duplicate code being generated.

Co-authored-by: Florian Forster <octo@collectd.org>
src/utils/format_json/open_telemetry.c