Fix string in header
Commit ab426a791a
changed
sha1 to sha256.
Need to change string correspondingly
Change-Id: I8b35350c32ab551d513f21325931d6697f62fb2f
Related-Bug: #1759250
This commit is contained in:
@@ -185,7 +185,7 @@ def http_log_req(_logger, args, kwargs):
|
||||
v = value.encode('utf-8')
|
||||
h = hashlib.sha256(v)
|
||||
d = h.hexdigest()
|
||||
value = "{SHA1}%s" % d
|
||||
value = "{SHA256}%s" % d
|
||||
header = ' -H "%s: %s"' % (key, value)
|
||||
string_parts.append(header)
|
||||
|
||||
|
Reference in New Issue
Block a user