IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Sfoglia il codice sorgente

Fix in focker image prune

tags/0.92
U-RBAMOUSER\adaszews Stanislaw Adaszewski <s.adaszewski@gmail.com> 4 anni fa
parent
commit
a91ae8680f
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +3
    -2
      focker/image.py

+ 3
- 2
focker/image.py Vedi File

@@ -98,8 +98,9 @@ def command_image_prune(args):
again = True
while again:
again = False
lst = zfs_list(fields=['focker:sha256', 'focker:tags', 'origin', 'name'],
focker_type='image')
fields=['focker:sha256', 'focker:tags', 'origin', 'name']
lst = zfs_list(fields=fields, focker_type='image')
lst += zfs_list(fields=fields, focker_type='jail')
# lst = zfs_parse_output(['zfs', 'list', '-o', 'focker:sha256,focker:tags,origin,name', '-H', '-r', poolname + '/focker/images'])
used = set()
for r in lst:


Loading…
Annulla
Salva