mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
Minor logging updates
This commit is contained in:
parent
0b8eff9643
commit
cdb9c48545
1 changed files with 5 additions and 1 deletions
6
.github/scripts/cleanup-tags.py
vendored
6
.github/scripts/cleanup-tags.py
vendored
|
|
@ -174,6 +174,8 @@ def _main():
|
||||||
# Deal with untagged package versions
|
# Deal with untagged package versions
|
||||||
if args.untagged:
|
if args.untagged:
|
||||||
|
|
||||||
|
logger.info("Handling untagged image packages")
|
||||||
|
|
||||||
if not args.is_manifest:
|
if not args.is_manifest:
|
||||||
# If the package is not a multi-arch manifest, images without tags are safe to delete.
|
# If the package is not a multi-arch manifest, images without tags are safe to delete.
|
||||||
# They are not referred to by anything. This will leave all with at least 1 tag
|
# They are not referred to by anything. This will leave all with at least 1 tag
|
||||||
|
|
@ -192,7 +194,9 @@ def _main():
|
||||||
f"Would delete {package.name} (id {package.id})",
|
f"Would delete {package.name} (id {package.id})",
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
logger.info(f"Not deleting {package.tags[0]}")
|
logger.info(
|
||||||
|
f"Not deleting tag {package.tags[0]} of package {args.package}",
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue