]> xenbits.xensource.com Git - libvirt.git/commitdiff
sheepdog: Use a consistent error message
authorRichard Laager <rlaager@wiktel.com>
Tue, 15 Mar 2016 06:17:32 +0000 (01:17 -0500)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 21 Mar 2016 05:46:54 +0000 (08:46 +0300)
This also reduces the number of strings to translate.

src/storage/storage_backend_sheepdog.c

index a3bd78a2d1ec4fbec620437cfb09d29ac6edeba1..001d16f607a6d7fdd8990752d7883432d55ff97a 100644 (file)
@@ -237,8 +237,9 @@ virStorageBackendSheepdogCreateVol(virConnectPtr conn ATTRIBUTE_UNUSED,
                                    virStorageVolDefPtr vol)
 {
     if (vol->target.encryption != NULL) {
-        virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                       _("Sheepdog does not support encrypted volumes"));
+        virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
+                       "%s", _("storage pool does not support encrypted "
+                               "volumes"));
         return -1;
     }