[libvirt] [PATCH 2/2] qemu: migration: use consistent error message

Cole Robinson crobinso at redhat.com
Thu Jun 9 12:15:54 UTC 2016


The other two DomainHasBlockJob usage error messages don't contain
'an', so unify things to save translators some effort. Dropping
the 'an' is closer to the sentence structure in the errors from
qemuDomainDiskBlockJobIsActive as well
---
 src/qemu/qemu_migration.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 38c07a8..8afd2a7 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -2276,7 +2276,7 @@ qemuMigrationIsAllowed(virQEMUDriverPtr driver,
 
         if (qemuDomainHasBlockjob(vm, false)) {
             virReportError(VIR_ERR_OPERATION_INVALID, "%s",
-                           _("domain has an active block job"));
+                           _("domain has active block job"));
             return false;
         }
 
-- 
2.7.4




More information about the libvir-list mailing list