Let's not shadow a variable we are about to delete
This commit is contained in:
parent
81a36ee3b8
commit
d0b2030b4e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def remove_stale_manifests():
|
||||||
try:
|
try:
|
||||||
for layer_mdata in parsed.layers:
|
for layer_mdata in parsed.layers:
|
||||||
digest = layer_mdata.digest
|
digest = layer_mdata.digest
|
||||||
found = model.blob.get_repo_blob_by_digest(parsed.namespace, parsed.repo_name, digest)
|
model.blob.get_repo_blob_by_digest(parsed.namespace, parsed.repo_name, digest)
|
||||||
|
|
||||||
except model.BlobDoesNotExist:
|
except model.BlobDoesNotExist:
|
||||||
logger.warning('Manifest missing layer: %s, deleting', digest)
|
logger.warning('Manifest missing layer: %s, deleting', digest)
|
||||||
|
|
Reference in a new issue