mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Fix linting issue with salt/utils/cache.py
The zeromq socket requires a track keyword argument according to pyling. Set it to False as it is the default in the library.
This commit is contained in:
parent
8696b2859a
commit
3e0ac1dcaa
1 changed files with 2 additions and 2 deletions
|
@ -203,14 +203,14 @@ class CacheCli:
|
|||
"""
|
||||
published the given minions to the ConCache
|
||||
"""
|
||||
self.cupd_out.send(salt.payload.dumps(minions))
|
||||
self.cupd_out.send(salt.payload.dumps(minions), track=False)
|
||||
|
||||
def get_cached(self):
|
||||
"""
|
||||
queries the ConCache for a list of currently connected minions
|
||||
"""
|
||||
msg = salt.payload.dumps("minions")
|
||||
self.creq_out.send(msg)
|
||||
self.creq_out.send(msg, track=False)
|
||||
min_list = salt.payload.loads(self.creq_out.recv())
|
||||
return min_list
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue