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 for the missing tag case

tags/0.92
父节点
当前提交
16687d157e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      zfs.py

+ 1
- 0
zfs.py 查看文件

@@ -78,6 +78,7 @@ def zfs_tag(name, tags, replace=False):
tags = list(tags)
tags.extend(lst[0][0].split(' '))
tags = list(set(tags))
tags = list(filter(lambda a: a != '-', tags))
if len(tags) > 0:
zfs_run(['zfs', 'set', 'focker:tags=' + ' '.join(tags), name])
else:


正在加载...
取消
保存