mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Minor logging updates
This commit is contained in:
		 Trenton Holmes
					Trenton Holmes
				
			
				
					committed by
					
						 Trenton H
						Trenton H
					
				
			
			
				
	
			
			
			 Trenton H
						Trenton H
					
				
			
						parent
						
							0b8eff9643
						
					
				
				
					commit
					cdb9c48545
				
			
							
								
								
									
										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: | ||||||
|  |  | ||||||
|                 """ |                 """ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user