mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
parent
af5990a4f4
commit
d3b67cf2ed
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ bool Host::ResolveMacro(const String& macro, const CheckResult::Ptr&, String *re
|
|||
|
||||
String value;
|
||||
if (vars && vars->Contains(macro))
|
||||
value = vars->Get(key);
|
||||
value = vars->Get(macro);
|
||||
|
||||
if (value.IsEmpty()) {
|
||||
*result = GetName();
|
||||
|
|
|
|||
Loading…
Reference in a new issue