Module: check_mk
Branch: master
Commit: 0a6be3cff3175966735746fe8aa097c016acefc7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0a6be3cff31759…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Wed Mar 27 14:20:29 2019 +0100
check_http: fix already diverging transforms
Change-Id: I463696f52cd442654280aba2051eb54ddb6bd890
---
cmk/gui/plugins/wato/active_checks.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/gui/plugins/wato/active_checks.py
b/cmk/gui/plugins/wato/active_checks.py
index d664b4b..9298ba7 100644
--- a/cmk/gui/plugins/wato/active_checks.py
+++ b/cmk/gui/plugins/wato/active_checks.py
@@ -1313,7 +1313,7 @@ class RulespecActiveChecksHttp(HostRulespec):
mode_name = 'cert' if "cert_days" in mode else 'url'
- transformed = {"name": params[0], "mode": (mode_name, mode)}
+ transformed = {"name": name, "mode": (mode_name, mode)}
# The proxy option has been isolated in version 1.6.0i1
proxy_address = mode.pop("proxy", None)
@@ -1326,7 +1326,7 @@ class RulespecActiveChecksHttp(HostRulespec):
if auth:
proxy["auth"] = auth
- return {"name": name, "mode": (mode_name, mode)}
+ return transformed
@rulespec_registry.register