mirror of https://github.com/Icinga/icinga2.git
parent
4966dfd241
commit
b9415aad3d
|
@ -282,7 +282,7 @@ bool Host::ResolveMacro(const String& macro, const CheckResult::Ptr&, String *re
|
|||
vars = GetVars();
|
||||
|
||||
String value;
|
||||
if (vars && vars->Contains(macro))
|
||||
if (vars && vars->Contains(key))
|
||||
value = vars->Get(key);
|
||||
|
||||
if (value.IsEmpty()) {
|
||||
|
|
Loading…
Reference in New Issue