summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2018-09-24 20:43:54 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-10-05 14:23:00 +0000
commit307c5aff55605d480d0d5889d6d010eee457377b (patch)
tree634b059b881df0a3bc7993af42630b3b5c2444ff
parent1330456911f4e0606d9ebd103151917a160e2623 (diff)
georep: Fix python3 compatibility (configparser)
'%' needs special handling in config and also removed duplicate misspelled 'changelog-archive-format' config. Updates: #411 Change-Id: I33621a62bdf5f781ee62e6cedec0c2df3f5d70cf Signed-off-by: Kotresh HR <khiremat@redhat.com> (cherry picked from commit 62164ac0d242a271f19b0e0bb352af5f7df082ce)
-rw-r--r--geo-replication/gsyncd.conf.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/geo-replication/gsyncd.conf.in b/geo-replication/gsyncd.conf.in
index b93af282cb3..6160c7c7091 100644
--- a/geo-replication/gsyncd.conf.in
+++ b/geo-replication/gsyncd.conf.in
@@ -108,8 +108,8 @@ value=1
type=int
help=Minimum time interval in seconds for passive worker to become Active
-[chnagelog-archive-format]
-value=%Y%m
+[changelog-archive-format]
+value=%%Y%%m
help=Processed changelogs will be archived in working directory. Pattern for archive file
[use-meta-volume]
@@ -336,9 +336,6 @@ type=bool
value=10
type=int
-[changelog-archive-format]
-value=%Y%m
-
[state_socket_unencoded]
# Unused, For backward compatibility
value=