mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
e9f61ef234
commit
d7b1127730
@ -258,8 +258,10 @@ void InfluxdbWriter::CheckResultHandlerWQ(const Checkable::Ptr& checkable, const
|
||||
String missing_macro;
|
||||
Value value = MacroProcessor::ResolveMacros(pair.second, resolvers, cr, &missing_macro);
|
||||
|
||||
if (!missing_macro.IsEmpty())
|
||||
if (!missing_macro.IsEmpty()) {
|
||||
tags->Remove(pair.first);
|
||||
continue;
|
||||
}
|
||||
|
||||
tags->Set(pair.first, value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user