Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 6a1d662c928888d6be0d528e25abdfcdf1f9b6e6
https://github.com/tribe29/checkmk/commit/6a1d662c928888d6be0d528e25abdfcdf…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-06-06 (Thu, 06 Jun 2019)
Changed paths:
A .werks/7765
M cmk/gui/wato/pages/parentscan.py
Log Message:
-----------
7765 FIX Fix parent scan when no gateway was found
When the parent scan found not gateway, e.g. because the
scanned host is the local host, then an exception like
this was produced by the background job:
C+:
ERROR heute on site heute: type object argument after * must be an iterable, not NoneType
Traceback (most recent call last):
File "/omd/sites/heute/lib/python/cmk/gui/wato/pages/parentscan.py", line 107,
in _process_task
self._execute_parent_scan(task, settings))
File "/omd/sites/heute/lib/python/cmk/gui/wato/pages/parentscan.py", line 130,
in _process_parent_scan_results
gateway = ParentScanResult(*gateways[0][0]) if gateways[0] is not None else None
TypeError: type object argument after * must be an iterable, not NoneType
C-:
Change-Id: I495b8be7bb020508a521d3a90846ca05ce29246e