2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 19:40:12 +00:00

Remove 'APPEND:'

If possible, we wannt to stick to 'MERGE', since the handlers
are designed to make that
idempotent for repeat.

APPEND: would not be idempotent...
This commit is contained in:
Jarrod Johnson 2021-03-25 12:37:21 -04:00
parent c2c1c85651
commit 829d1316b2

View File

@ -53,9 +53,7 @@ class SyncList(object):
if not ent:
continue
if ent[-1] == ':':
if ent == 'APPEND:':
currmap = self.appendmap
elif ent == 'MERGE:':
if ent == 'MERGE:':
currmap = self.mergemap
else:
raise Exception(