Commit 92cabebd authored by Yingjie Xu's avatar Yingjie Xu

Always update sha512 value.

parent 3ff69dc4
...@@ -225,6 +225,7 @@ class NetworkcacheClient(object): ...@@ -225,6 +225,7 @@ class NetworkcacheClient(object):
(self.shacache_host, result.status, data)) (self.shacache_host, result.status, data))
if key is not None: if key is not None:
kw.edit(sha512=data) # always update sha512sum
sha_entry = json.dumps(kw) sha_entry = json.dumps(kw)
try: try:
signature = self._getSignatureString(sha_entry) signature = self._getSignatureString(sha_entry)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment