mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add versionadded info to save_load() & get_load()
This commit is contained in:
parent
5d2fae8a89
commit
ff88fe402c
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,8 @@ def prep_jid(nocache=False, passed_jid=None): # pylint: disable=unused-argument
|
|||
def save_load(jid, load):
|
||||
'''
|
||||
Save the load to the specified jid id
|
||||
|
||||
.. versionadded:: 2015.8.1
|
||||
'''
|
||||
index = __salt__['config.option']('elasticsearch:master_job_cache_index', 'salt-master-job-cache')
|
||||
doc_type = __salt__['config.option']('elasticsearch:master_job_cache_doc_type', 'default')
|
||||
|
@ -146,6 +148,8 @@ def save_load(jid, load):
|
|||
def get_load(jid):
|
||||
'''
|
||||
Return the load data that marks a specified jid
|
||||
|
||||
.. versionadded:: 2015.8.1
|
||||
'''
|
||||
index = __salt__['config.option']('elasticsearch:master_job_cache_index', 'salt-master-job-cache')
|
||||
doc_type = __salt__['config.option']('elasticsearch:master_job_cache_doc_type', 'default')
|
||||
|
|
Loading…
Add table
Reference in a new issue