mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
virsh: Improve the job type reported of virsh cmd blockcommit
When starting an active block commit job in virsh, it will report "Block Commit started", but for more precise message it could report "Active Block Commit started". Signed-off-by: Shanzhi Yu <shyu@redhat.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
90712bb5c0
commit
d8415b5469
@ -1723,7 +1723,9 @@ cmdBlockCommit(vshControl *ctl, const vshCmd *cmd)
|
||||
goto cleanup;
|
||||
|
||||
if (!blocking) {
|
||||
vshPrint(ctl, "%s", _("Block Commit started"));
|
||||
vshPrint(ctl, "%s", active ?
|
||||
_("Active Block Commit started") :
|
||||
_("Block Commit started"));
|
||||
ret = true;
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user