Mercurial > libervia-pubsub
changeset 484:70eddf92bf51
backend: fix check of boolean settings with `publish-options`
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 23 Sep 2022 18:06:12 +0200 |
parents | e814c98ef07a |
children | 97010eefdfd9 |
files | sat_pubsub/backend.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_pubsub/backend.py Fri Sep 23 18:04:50 2022 +0200 +++ b/sat_pubsub/backend.py Fri Sep 23 18:06:12 2022 +0200 @@ -447,7 +447,7 @@ # we check that publish-options are satisfied for field, value in options.items(): try: - current_value = configuration[field] + current_value = str(configuration[field]).lower() except KeyError: raise error.ConstraintFailed( f"publish-options {field!r} doesn't exist in node configuration"