Module: check_mk
Branch: master
Commit: 2938f1a31378c8064afb586bf033846dcdbf9b18
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2938f1a31378c8…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Dec 12 08:55:34 2018 +0100
Unbreak proxy settings.
Change-Id: Ieeea864356e7e7f3bc2fa26d6efb3d3299dc9bae
---
cmk/gui/plugins/wato/utils/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/gui/plugins/wato/utils/__init__.py
b/cmk/gui/plugins/wato/utils/__init__.py
index d98c320..8a30fba 100644
--- a/cmk/gui/plugins/wato/utils/__init__.py
+++ b/cmk/gui/plugins/wato/utils/__init__.py
@@ -595,7 +595,7 @@ def HTTPProxyReference():
"""Use this valuespec in case you want the user to configure a HTTP
proxy
The configured value is is used for preparing requests to work in a proxied
environment."""
- def _global_proxy_choices(self):
+ def _global_proxy_choices():
settings = watolib.ConfigDomainCore().load()
return [(p["ident"], p["title"]) for p in
settings.get("http_proxies", {}).values()]