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!
瀏覽代碼

Fix in focker image prune

tags/0.92
U-RBAMOUSER\adaszews Stanislaw Adaszewski <s.adaszewski@gmail.com> 4 年之前
父節點
當前提交
a91ae8680f
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      focker/image.py

+ 3
- 2
focker/image.py 查看文件

@@ -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…
取消
儲存