mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
salt.returners.influxdb_return: add no-op save_minions() func for API compatibility
This commit is contained in:
parent
1dd106183c
commit
4322ad9ef3
2 changed files with 8 additions and 0 deletions
|
@ -4,3 +4,4 @@ salt.returners.influxdb_return
|
|||
|
||||
.. automodule:: salt.returners.influxdb_return
|
||||
:members:
|
||||
:exclude-members: save_minions
|
||||
|
|
|
@ -149,6 +149,13 @@ def save_load(jid, load):
|
|||
log.critical('Failed to store load with InfluxDB returner: {0}'.format(ex))
|
||||
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue