salt.returners.memcache_return: add no-op save_minions() func for API compatibility

This commit is contained in:
Erik Johnson 2016-03-03 21:39:43 -06:00
parent 4322ad9ef3
commit c13bb6549c
2 changed files with 9 additions and 1 deletions

View file

@ -3,4 +3,5 @@ salt.returners.memcache_return
==============================
.. automodule:: salt.returners.memcache_return
:members:
:members:
:exclude-members: save_minions

View file

@ -139,6 +139,13 @@ def save_load(jid, load):
serv.append('jids', jid)
def save_minions(jid, minions): # pylint: disable=unused-argument
'''
Included for API consistency
'''
pass
def get_load(jid):
'''
Return the load data that marks a specified jid