Skip to content

Commit

Permalink
Make endpoint_string one line for ccr test (#4794)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon authored Jun 20, 2024
1 parent 64efce1 commit af2f02c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def custom_node_endpoint_encoder(node_endpoint: NodeEndpoint) -> dict:
endpoints_list = []
for cluster_details in cluster_endpoints:
endpoints_list.append(cluster_details.__dict__)
endpoints_string = json.dumps(endpoints_list, indent=0, default=custom_node_endpoint_encoder)
endpoints_string = json.dumps(endpoints_list, indent=0, default=custom_node_endpoint_encoder).replace("\n", "")
cmd = f"bash {script} -e '"
cmd = cmd + endpoints_string + "'"
cmd = cmd + f" -s {str(security).lower()} -v {self.bundle_manifest.build.version}"
Expand Down

0 comments on commit af2f02c

Please sign in to comment.