Skip to content
Snippets Groups Projects
Commit d96ffe74 authored by Jiahang Chen's avatar Jiahang Chen
Browse files

fix message print out

parent 359deef2
Branches
Tags
1 merge request!4Dev chen
Pipeline #349274 passed
......@@ -425,14 +425,13 @@ def on_service_request(self, body_json):
)
res = self.broker.send(receiver_endpoints=[body_json.get("replyToEndpoint", None)],
msg=json.dumps(service_reply.msg))
msg=json.dumps(service_reply.msg))
if res.status_code == 201:
print(
BColors.OKBLUE
+ "[S³I][Broker]"
+ BColors.ENDC
+ ": Send a S³I-B ServiceReply back to the requester "
+ json.dumps(body_json, indent=2)
)
def on_get_value_reply(self, msg):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment