Skip to content

Commit ac73001

Browse files
author
Cong Wang - RENCI
committed
sdx sends string json
1 parent 3d6592a commit ac73001

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

swagger_server/controllers/connection_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,6 @@ def place_connection(body): # noqa: E501
140140
for entry in breakdown:
141141
domain_name = find_between(entry, "topology:", ".net")
142142
producer = producers[lc_domain_topo_dict[domain_name]]
143-
producer.call(breakdown[entry])
143+
producer.call(json.dumps(breakdown[entry]))
144144

145145
return "Connection published"

0 commit comments

Comments
 (0)