Module: check_mk
Branch: master
Commit: 9de9d8ab246435463946603d03581e969cdbe2d5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9de9d8ab246435…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Mar 15 22:26:26 2012 +0100
WATO: fixed missing host parameters(.name) in validate_host()
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 3d8f160..b90dcb4 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -1801,7 +1801,7 @@ def mode_edithost(phase, new, cluster):
call_hook_hosts_changed(g_folder)
reload_hosts(g_folder)
- errors = validate_all_hosts([hostname]).get(hostname, []) +
validate_host(host, g_folder)
+ errors = validate_all_hosts([hostname]).get(hostname, []) +
validate_host(g_folder[".hosts"][hostname], g_folder)
if errors: # keep on this page if host does not validate
return
elif new: