summaryrefslogtreecommitdiff
path: root/buildstream/_cachekey/cachekey.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_cachekey/cachekey.py')
-rw-r--r--buildstream/_cachekey/cachekey.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_cachekey/cachekey.py b/buildstream/_cachekey/cachekey.py
index d3ae19042..15b0df0f7 100644
--- a/buildstream/_cachekey/cachekey.py
+++ b/buildstream/_cachekey/cachekey.py
@@ -71,11 +71,11 @@ class CacheKey():
def _update_weak_cached(self):
if self._weak_key and not self._weak_cached:
- self._weak_cached = self._element._is_key_cached(self._weak_key)
+ self._weak_cached = self._element._is_weak_cached()
def _update_strong_cached(self):
if self._strict_key and not self._strong_cached:
- self._strong_cached = self._element._is_key_cached(self._strict_key)
+ self._strong_cached = self._element._is_strong_cached()
# Set the weak key
def _calculate_weak_key(self):