Module: check_mk
Branch: master
Commit: 5accfd59a783d7e4233112a762d6fe141ae42565
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5accfd59a783d7…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Sep 29 11:20:01 2014 +0200
esx_vsphere_licenses: fixed exception when no params were set
---
checks/esx_vsphere_licenses | 2 --
1 file changed, 2 deletions(-)
diff --git a/checks/esx_vsphere_licenses b/checks/esx_vsphere_licenses
index 5fbb918..5006922 100644
--- a/checks/esx_vsphere_licenses
+++ b/checks/esx_vsphere_licenses
@@ -34,8 +34,6 @@ def inventory_esx_vsphere_licenses(info):
return [ (line[0], None) for line in info ]
def check_esx_vsphere_licenses(item, params, info):
- if params == None:
- params = {}
# Transform: VMware vSphere 5 Standard 100 13
# Into dict: 'VMware vSphere 5 Standard': (100, 130)
licenses = dict(map(