Module: check_mk
Branch: master
Commit: db0ccf965ce8cea865e6b4953f0cbb3333d59685
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=db0ccf965ce8ce…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 24 13:58:00 2019 +0200
Fix refactoring issue uncovered by mypy
Change-Id: I6cd60de497310cbb8000d05015327bbfb78930d3
---
cmk_base/discovery.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk_base/discovery.py b/cmk_base/discovery.py
index 5f2fc34..ebcf2e0 100644
--- a/cmk_base/discovery.py
+++ b/cmk_base/discovery.py
@@ -351,7 +351,7 @@ def check_discovery(hostname, ipaddress):
sources, use_caches=data_sources.abstract.DataSource.get_may_use_cache_file())
services = _get_host_services(
- host_name, ipaddress, sources, multi_host_sections, on_error="raise")
+ host_config, ipaddress, sources, multi_host_sections,
on_error="raise")
need_rediscovery = False