]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
src/daemon/metric.h: Fix typos in doc comment.
authorFlorian Forster <ff@octo.it>
Wed, 13 Dec 2023 14:37:13 +0000 (15:37 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 13 Dec 2023 21:39:11 +0000 (22:39 +0100)
Co-authored-by: Eero Tamminen <eero.t.tamminen@intel.com>
src/daemon/metric.h

index 35fdf6dad7831bb726788839671a96ad95759db3..d6e1e454658f7eb4e66c07ec53dde1a8da9225af 100644 (file)
@@ -122,8 +122,8 @@ metric_t *metric_parse_identity(char const *s);
  * label that does not exist is *not* an error. */
 int metric_label_set(metric_t *m, char const *name, char const *value);
 
-/* metric_resource_attribute_update adds, updates, or deleted a resource
- * attribute. If "value" is NULL or the empty string, the attribute is removed.
+/* metric_resource_attribute_update adds, updates, or deletes a resource
+ * attribute. If "value" is NULL or an empty string, the attribute is removed.
  * Removing an attribute that does not exist is *not* an error. */
 int metric_resource_attribute_update(metric_t *m, char const *name,
                                      char const *value);