mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 21:55:13 +00:00
Refactor ServerUplinkConnector to avoid passing redundant data
This commit is contained in:
@ -26,6 +26,7 @@ class ServerUplinkConnector(ZMQConnectorBase):
|
||||
self._zmq_push_socket.connect('tcp://localhost:{}'.format(tfwenv.RECEIVER_PORT))
|
||||
|
||||
def send(self, key, response):
|
||||
response['key'] = key
|
||||
self._zmq_push_socket.send_multipart(serialize_all(key, response))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user