mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
storagefile: fix defintion vs definition typo
This commit is contained in:
parent
c5d1dcbcd9
commit
9c0d66bb07
@ -3253,7 +3253,7 @@ virStorageSourceParseBackingJSONInternal(virStorageSourcePtr src,
|
||||
if (!(file = virJSONValueObjectGetObject(deflattened, "file"))) {
|
||||
str = virJSONValueToString(json, false);
|
||||
virReportError(VIR_ERR_INVALID_ARG,
|
||||
_("JSON backing volume defintion '%s' lacks 'file' object"),
|
||||
_("JSON backing volume definition '%s' lacks 'file' object"),
|
||||
NULLSTR(str));
|
||||
goto cleanup;
|
||||
}
|
||||
@ -3261,7 +3261,7 @@ virStorageSourceParseBackingJSONInternal(virStorageSourcePtr src,
|
||||
if (!(drvname = virJSONValueObjectGetString(file, "driver"))) {
|
||||
str = virJSONValueToString(json, false);
|
||||
virReportError(VIR_ERR_INVALID_ARG,
|
||||
_("JSON backing volume defintion '%s' lacks driver name"),
|
||||
_("JSON backing volume definition '%s' lacks driver name"),
|
||||
NULLSTR(str));
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user