]> git.ipfire.org Git - thirdparty/collectd.git/commit
src/daemon/resource.c: Allow default resource attributes to be empty. 4199/head
authorFlorian Forster <octo@collectd.org>
Fri, 22 Dec 2023 07:13:22 +0000 (08:13 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 28 Dec 2023 08:08:20 +0000 (09:08 +0100)
commit0b1dd30a1d02f76f78a334db59ac8679a81f22cb
treea20ff797033cba2258ad143e0f23529231d44c56
parentb7c2a43d3e194fac6c9c10dba60ca050840101fb
src/daemon/resource.c: Allow default resource attributes to be empty.

To achieve this, track whether or not the struct has been initialized
separately, so that users can remove all the attributes if they wish.
src/collectd.conf.pod
src/daemon/resource.c