Module: check_mk
Branch: master
Commit: 7b52f51972906ce3e81eea0072888baa62981fb4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7b52f51972906c…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Apr 2 09:10:44 2014 +0200
deprecated backup domains no longer stored in automatically created snapshots
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index c81d10f..438031f 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6524,7 +6524,7 @@ def get_backup_domains(modes, extra_domains = {}):
domains = {}
for mode in modes:
for domain, value in backup_domains.items():
- if mode in value:
+ if mode in value and not value.get("deprecated"):
domains.update({domain: value})
domains.update(extra_domains)
return domains