mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
support clear_facts
This commit is contained in:
parent
f1b1c4ee97
commit
06edb6774a
@ -104,8 +104,7 @@ class CacheModule(BaseCacheModule):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def delete(self, key):
|
def delete(self, key):
|
||||||
self.mc.delete(self.translate_host_key(key))
|
self.set(key, {})
|
||||||
self.mc.delete(self.translate_modified_key(key))
|
|
||||||
|
|
||||||
def flush(self):
|
def flush(self):
|
||||||
host_names = self.mc.get(self.host_names_key)
|
host_names = self.mc.get(self.host_names_key)
|
||||||
|
Loading…
Reference in New Issue
Block a user