diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-03-31 16:15:20 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-03-31 16:15:20 +0000 |
commit | af3459e3be5069eeba0d8187b701cfe74bf79b12 (patch) | |
tree | d0cab62388cc0e9eda6dbd79c04c90e5b633efc2 | |
parent | 215b7086a6d0e7ba94a2f6c1a9448c2baed38d3b (diff) | |
download | lorry-controller-af3459e3be5069eeba0d8187b701cfe74bf79b12.tar.gz |
Add protocol to mandatory fields for remote Troves
-rw-r--r-- | lorrycontroller/readconf.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): |