diff options
author | Kotresh HR <khiremat@redhat.com> | 2017-11-27 01:28:38 -0500 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2017-11-30 06:32:37 +0000 |
commit | 3460b8cfc550f272bdae588e8929b75b105ab06b (patch) | |
tree | 9edbe41581553b16d7c6d5e0056242121fd9353c /geo-replication/syncdaemon/gsyncdconfig.py | |
parent | 98cf45970ec3c147d65c98da01727c6b4e0dce4f (diff) |
geo-rep: Fix access-mount geo-rep config
Fix access-mount and slave-access-mount
configs.
Change-Id: Ib586677755e76a51b9f20093e441b72789b4fecc
Signed-off-by: Kotresh HR <khiremat@redhat.com>
BUG: 1517633
Diffstat (limited to 'geo-replication/syncdaemon/gsyncdconfig.py')
-rw-r--r-- | geo-replication/syncdaemon/gsyncdconfig.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/gsyncdconfig.py b/geo-replication/syncdaemon/gsyncdconfig.py index 9ca6ef37105..ad313022b4e 100644 --- a/geo-replication/syncdaemon/gsyncdconfig.py +++ b/geo-replication/syncdaemon/gsyncdconfig.py @@ -338,6 +338,8 @@ def to_float(value): def to_bool(value): + if isinstance(value, bool): + return value return True if value in ["true", "True"] else False |