sheepdog: Use a consistent error message

This also reduces the number of strings to translate.
This commit is contained in:
Richard Laager 2016-03-15 01:17:32 -05:00 committed by Roman Bogorodskiy
parent e7d5c4e877
commit ed0221d6b3

View 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;
}