Fix consistency-check endpoint using wrong field name for S3 size
This commit is contained in:
@@ -2739,7 +2739,7 @@ def check_consistency(
|
||||
if len(missing_s3_keys) < limit:
|
||||
missing_s3_keys.append(artifact.s3_key)
|
||||
else:
|
||||
s3_size = s3_info.get("ContentLength", 0)
|
||||
s3_size = s3_info.get("size", 0)
|
||||
if s3_size != artifact.size:
|
||||
if len(size_mismatches) < limit:
|
||||
size_mismatches.append(
|
||||
|
||||
Reference in New Issue
Block a user