Merge "Set the values for the request_local_cache" into stable/mitaka

This commit is contained in:
Jenkins 2016-04-16 21:42:36 +00:00 committed by Gerrit Code Review
commit fcb3c7fd85
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ class _ResponseCacheProxy(proxy.ProxyBackend):
value = self._get_local_cache(key)
if value is api.NO_VALUE:
value = self.proxied.get(key)
if value is not api.NO_VALUE:
self._set_local_cache(key, value)
return value
def set(self, key, value):