mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
storagefile: fix defintion vs definition typo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user