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:
Rory Geoghegan 2022-09-26 11:13:35 -04:00
parent 8696b2859a
commit 3e0ac1dcaa

View file

@ -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