Module: check_mk
Branch: master
Commit: ea14696c687a72bd98bab784264bb4de86aeaa04
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ea14696c687a72…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Jul 26 09:19:06 2018 +0200
Fixed typo
Change-Id: Icbac1fdeebc57e563bf975e8cdf9a336beda6376
---
cmk_base/data_sources/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk_base/data_sources/__init__.py b/cmk_base/data_sources/__init__.py
index 6da2763..d6b67c5 100644
--- a/cmk_base/data_sources/__init__.py
+++ b/cmk_base/data_sources/__init__.py
@@ -281,13 +281,13 @@ class DataSources(object):
# Special agents can produce data for the same check_plugin_name on the same
host, in this case
# the section lines need to be extended
multi_host_sections = MultiHostSections()
- for this_hostname, this_ipaddress, these_sources, this_max_cachfile_age in
hosts:
+ for this_hostname, this_ipaddress, these_sources, this_max_cachefile_age in
hosts:
# In case a max_cachefile_age is given with the function call, always use
this one
# instead of the host individual one. This is only used in discovery mode.
if max_cachefile_age is not None:
these_sources.set_max_cachefile_age(max_cachefile_age)
else:
- these_sources.set_max_cachefile_age(this_max_cachfile_age)
+ these_sources.set_max_cachefile_age(this_max_cachefile_age)
for source in these_sources.get_data_sources():
host_sections_from_source = source.run()