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!
Przeglądaj źródła

Fix in focker image prune

tags/0.92
U-RBAMOUSER\adaszews Stanislaw Adaszewski <s.adaszewski@gmail.com> 4 lat temu
rodzic
commit
a91ae8680f
1 zmienionych plików z 3 dodań i 2 usunięć
  1. +3
    -2
      focker/image.py

+ 3
- 2
focker/image.py Wyświetl plik

@@ -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:


Ładowanie…
Anuluj
Zapisz