redefinition of variables should not log an error
Costa Tsaousis (ktsaou) committed
Oct 15, 2017 at 17:51 UTC
df39a55f94ba2dbdad69959f0bba39adfa7267d8
1 file changed
+1
-1
src/rrdvar.c
+1
-1
@@ -117,7 +117,7 @@ RRDVAR *rrdvar_custom_host_variable_create(RRDHOST *host, const char *name) {
117
RRDVAR *rv = rrdvar_create_and_index("host", &host->variables_root_index, name, RRDVAR_TYPE_CALCULATED_ALLOCATED, v);
118
if(unlikely(!rv)) {
119
free(v);
120
- error("Requested variable '%s' already exists - possibly 2 plugins are updating it at the same time.", name);
120
+ debug(D_VARIABLES, "Requested variable '%s' already exists - possibly 2 plugins are updating it at the same time.", name);
121
122
char *variable = strdupz(name);
123
rrdvar_fix_name(variable);