From 2aa4286aab185700bf6ba241b5bd64bbd8f6fcf9 Mon Sep 17 00:00:00 2001 From: Stanislaw Adaszewski Date: Mon, 27 Apr 2020 16:48:59 +0200 Subject: [PATCH] Make sure tag/untag is volume-specific --- volume.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volume.py b/volume.py index c64082a..f508a11 100644 --- a/volume.py +++ b/volume.py @@ -30,9 +30,9 @@ def command_volume_list(args): def command_volume_tag(args): name, _ = zfs_find(args.reference, focker_type='volume') - zfs_untag(args.tags) + zfs_untag(args.tags, focker_type='volume') zfs_tag(name, args.tags) def command_volume_untag(args): - zfs_untag(args.tags) + zfs_untag(args.tags, focker_type='volume')