mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Make sdb.delete() actually call a delete in Redis
Looks like this was missed when copy-pasting the sdb.get() method.
This commit is contained in:
parent
bbc8c80c77
commit
e1e5cf1c2a
@ -81,4 +81,4 @@ def delete(key, profile=None):
|
||||
redis_kwargs = profile.copy()
|
||||
redis_kwargs.pop('driver')
|
||||
redis_conn = redis.StrictRedis(**redis_kwargs)
|
||||
return redis_conn.get(key)
|
||||
return redis_conn.delete(key)
|
||||
|
Loading…
Reference in New Issue
Block a user