mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Resolve lint failed
This commit is contained in:
parent
4708fe8900
commit
a395534469
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class Collector(salt.utils.process.SignalHandlingProcess):
|
|||
# test_zeromq_filtering requires catching the
|
||||
# SaltDeserializationError in order to pass.
|
||||
try:
|
||||
messages = self.sock.recv_multipart(zmq.NOBLOCK)
|
||||
messages = self.sock.recv_multipart(flags=zmq.NOBLOCK, copy=True)
|
||||
messages_len = len(messages)
|
||||
if messages_len == 1:
|
||||
serial_payload = salt.payload.loads(messages[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue