mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
config: Fix looking up host custom attributes.
This commit is contained in:
parent
2b97884201
commit
4fdab9e2ac
1 changed files with 1 additions and 1 deletions
|
|
@ -835,7 +835,7 @@ sub resolve_macro_attribute {
|
|||
$obj_host = obj_get_host_obj_by_host_name($cfg_obj, $host_name);
|
||||
}
|
||||
|
||||
$macro_value = obj_1x_get_host_attr($cfg_obj, $obj, $host_name, $attr_name);
|
||||
$macro_value = obj_1x_get_host_attr($cfg_obj, $obj_host, $host_name, $attr_name);
|
||||
|
||||
Icinga2::Utils::debug("MACRO RESOLVER: found $attr_name with value '$macro_value' on " . Dumper($obj));
|
||||
return $macro_value;
|
||||
|
|
|
|||
Loading…
Reference in a new issue