mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #48238 from mirceaulinic/fix-sdb-cache
SDB cache module: AttributeError: 'Cache' object has no attribute 'set'
This commit is contained in:
commit
056f43f663
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def set_(key, value, service=None, profile=None): # pylint: disable=W0613
|
|||
'''
|
||||
key, profile = _parse_key(key, profile)
|
||||
cache = salt.cache.Cache(__opts__)
|
||||
cache.set(profile['bank'], key=key, value=value)
|
||||
cache.store(profile['bank'], key, value)
|
||||
return get(key, service, profile)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue