support clear_facts

This commit is contained in:
Chris Meyers
2017-07-05 10:26:49 -04:00
parent 4b84cec1e8
commit 3d4f8b0074
2 changed files with 5 additions and 2 deletions

View File

@@ -104,8 +104,7 @@ class CacheModule(BaseCacheModule):
return False
def delete(self, key):
self.mc.delete(self.translate_host_key(key))
self.mc.delete(self.translate_modified_key(key))
self.set(key, {})
def flush(self):
host_names = self.mc.get(self.host_names_key)