From af3459e3be5069eeba0d8187b701cfe74bf79b12 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 31 Mar 2014 16:15:20 +0000 Subject: Add protocol to mandatory fields for remote Troves --- lorrycontroller/readconf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lorrycontroller/readconf.py b/lorrycontroller/readconf.py index 867261a..e9fb184 100644 --- a/lorrycontroller/readconf.py +++ b/lorrycontroller/readconf.py @@ -321,7 +321,8 @@ class LorryControllerConfValidator(object): def _check_troves_section(self, section): self._check_has_required_fields( - section, ['trovehost', 'interval', 'ls-interval', 'prefixmap']) + section, + ['trovehost', 'protocol', 'interval', 'ls-interval', 'prefixmap']) self._check_prefixmap(section) def _check_prefixmap(self, section): -- cgit v1.2.1