mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Pass dict object to touch_member instead of json encoded string (#651)
DCS implementation will take care about encoding it. Fixes https://github.com/zalando/patroni/issues/642
This commit is contained in:
+1
-1
@@ -786,7 +786,7 @@ def touch_member(config, dcs):
|
||||
'role': p.role
|
||||
}
|
||||
|
||||
return dcs.touch_member(json.dumps(data, separators=(',', ':')), permanent=True)
|
||||
return dcs.touch_member(data, permanent=True)
|
||||
|
||||
|
||||
def set_defaults(config, cluster_name):
|
||||
|
||||
Reference in New Issue
Block a user