Skip to content

Commit 7e991a0

Browse files
Update the sync function to take raw input, not json
Change-Id: I29b9279d23dfa8333d4ef07fe2512cc5abddae9a Reviewed-on: https://review.couchbase.org/c/CapellaRESTAPIs/+/242794 Tested-by: Dragos Petru Taraban <dragos.petru@couchbase.com> Reviewed-by: Bo-Chun Wang <bo-chun.wang@couchbase.com>
1 parent 8e4c7dd commit 7e991a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

capella/dedicated/CapellaAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ def update_sync_function_sgw(self, tenant_id, project_id, cluster_id, backend_id
10201020
url = '{}/v2/organizations/{}/projects/{}/clusters/{}/backends/{}/databases/{}/sync' \
10211021
.format(self.internal_url, tenant_id, project_id, cluster_id, backend_id, db_name)
10221022
resp = self.do_internal_request(url, method="PUT",
1023-
params=json.dumps(config))
1023+
params=config)
10241024
return resp
10251025

10261026
def add_app_role_sgw(self, tenant_id, project_id, cluster_id, backend_id, db_name, config):

0 commit comments

Comments
 (0)