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