mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
parent
e9f61ef234
commit
d7b1127730
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Reference in a new issue