Module: check_mk
Branch: master
Commit: 4a6f28af08a5ce0a86154fe342f4f481c131c85a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4a6f28af08a5ce…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Jul 23 10:45:30 2018 +0200
Fixed a few enabled singleton-comparison warnings and classify the warning itself.
Note that expressions like 'FOO is True' are intentionally left as they are,
because figuring out if they can be simplified to 'FOO' must be done on a
case-by-case basis, which is out of scope for this change. The same holds
for 'BAR is False' => 'not BAR'.
Change-Id: Iffd521bed690da77e567212366a86afd0c8aeba0
---
checks/3par_volumes | 2 +-
checks/agent_ibmsvc | 2 +-
checks/agent_ruckus_spot | 2 +-
checks/agent_storeonce | 2 +-
checks/agent_vsphere | 4 ++--
checks/apache_status | 2 +-
checks/brocade_fcport | 2 +-
checks/brocade_optical | 2 +-
checks/check_cmk_inv | 2 +-
checks/check_http | 2 +-
checks/check_mail | 2 +-
checks/check_mk | 2 +-
checks/check_smtp | 2 +-
checks/cisco_cpu_multiitem | 2 +-
checks/cisco_temp_perf | 4 ++--
checks/citrix_controller | 2 +-
checks/cmciii.include | 2 +-
checks/cpu_util.include | 4 ++--
checks/db2_mem | 6 +++---
checks/df_zos | 2 +-
checks/diskstat | 2 +-
checks/drbd | 4 ++--
checks/emcvnx.include | 2 +-
checks/emcvnx_disks | 2 +-
checks/emcvnx_raidgroups | 4 ++--
checks/esx_vsphere_objects | 2 +-
checks/f5_bigip_conns | 4 ++--
checks/f5_bigip_vserver | 2 +-
checks/fc_port | 4 ++--
checks/genua_pfstate | 2 +-
checks/heartbeat_crm | 2 +-
checks/ibm_svc_host | 2 +-
checks/ibm_svc_systemstats | 4 ++--
checks/if.include | 8 ++++----
checks/jolokia_metrics | 36 ++++++++++++++++++------------------
checks/kaspersky_av_client | 2 +-
checks/license.include | 4 ++--
checks/livestatus_status | 4 ++--
checks/lnx_if | 2 +-
checks/lnx_quota | 4 ++--
checks/mem | 2 +-
checks/mkbackup | 2 +-
checks/mkeventd_status | 2 +-
checks/mq_queues | 2 +-
checks/mrpe | 4 ++--
checks/mtr | 2 +-
checks/netapp_api_cpu | 2 +-
checks/netapp_api_fcp | 2 +-
checks/netapp_api_if | 2 +-
checks/nginx_status | 2 +-
checks/ntp | 2 +-
checks/oracle.include | 2 +-
checks/oracle_dataguard_stats | 2 +-
checks/oracle_jobs | 2 +-
checks/oracle_locks | 2 +-
checks/oracle_logswitches | 2 +-
checks/oracle_processes | 2 +-
checks/oracle_recovery_status | 2 +-
checks/oracle_sessions | 2 +-
checks/oracle_tablespaces | 4 ++--
checks/oracle_version | 2 +-
checks/printer_io.include | 2 +-
checks/ps.include | 6 +++---
checks/services | 10 +++++-----
checks/synology_disks | 2 +-
checks/temperature.include | 4 ++--
checks/unitrends_backup | 4 ++--
checks/uptime.include | 2 +-
checks/varnish | 2 +-
checks/veeam_client | 2 +-
checks/vxvm_objstatus | 2 +-
checks/win_printers | 2 +-
checks/winperf | 2 +-
checks/zpool_status | 2 +-
cmk_base/check_api.py | 4 ++--
inventory/dmidecode | 2 +-
tests/pylint/pylintrc | 5 ++++-
77 files changed, 124 insertions(+), 121 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=4a6f28af08…