diff options
-rw-r--r-- | src/virsh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virsh.c b/src/virsh.c index 2d0cf8191..15e0cef51 100644 --- a/src/virsh.c +++ b/src/virsh.c @@ -5206,7 +5206,7 @@ cmdVolKey(vshControl *ctl, const vshCmd *cmd) if (!vshConnectionUsability(ctl, ctl->conn, TRUE)) return FALSE; - if (!(vol = vshCommandOptVolBy(ctl, cmd, "vol", NULL, NULL, + if (!(vol = vshCommandOptVolBy(ctl, cmd, "vol", "pool", NULL, VSH_BYUUID))) return FALSE; |