Module: check_mk
Branch: master
Commit: 7e5170b4fc6b9a48f86708913ad660fd73a30c56
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7e5170b4fc6b9a…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Apr 28 16:24:04 2016 +0200
3526 FIX Inventory scripts are no longer called when no data is available for their
section
This fixes an error where the aix_packages inventory plugin was always called on any
host.
---
inventory/aix_packages | 5 -----
1 file changed, 5 deletions(-)
diff --git a/inventory/aix_packages b/inventory/aix_packages
index 869d26c..fcfe7e3 100644
--- a/inventory/aix_packages
+++ b/inventory/aix_packages
@@ -36,12 +36,7 @@
def inv_aix_packages(info):
- if not info:
- return # Empty section
-
paclist = inv_tree("software.packages:")
- if not info:
- return
headers = info[0]
headers[0] = headers[0].lstrip("#")
for line in info[1:]: