summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2022-07-19 11:41:01 +0200
committerVladimir Kobal <vlad@prokk.net>2022-07-19 11:41:01 +0200
commitbf6237438dd6c784eb70b7048e7ee544fa256e24 (patch)
tree241a7ad433ab418edc2ddd74a5ff134a86d6ca03
parentcd897fc30ced7fbc25845e54f2c42a3877c9e0b5 (diff)
Fix cgroups unit tests
-rw-r--r--collectors/cgroups.plugin/tests/test_doubles.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/collectors/cgroups.plugin/tests/test_doubles.c b/collectors/cgroups.plugin/tests/test_doubles.c
index 03ec8e6669..6203d444cd 100644
--- a/collectors/cgroups.plugin/tests/test_doubles.c
+++ b/collectors/cgroups.plugin/tests/test_doubles.c
@@ -132,12 +132,13 @@ void update_pressure_charts(struct pressure_charts *charts)
}
void netdev_rename_device_add(
- const char *host_device, const char *container_device, const char *container_name, DICTIONARY *labels)
+ const char *host_device, const char *container_device, const char *container_name, DICTIONARY *labels, const char *ctx_prefix)
{
UNUSED(host_device);
UNUSED(container_device);
UNUSED(container_name);
UNUSED(labels);
+ UNUSED(ctx_prefix);
}
void netdev_rename_device_del(const char *host_device)