mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 22:05:47 +00:00
vbox: Move error messages onto a single line
Error messages are exempt from the 80 columns rule. Move them onto one line. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
c34d9cb9ce
commit
b7c3bb0a84
@ -736,8 +736,7 @@ virVBoxSnapshotConfAddSnapshotToXmlMachine(virVBoxSnapshotConfSnapshot *snapshot
|
|||||||
if (snapshotParentName == NULL) {
|
if (snapshotParentName == NULL) {
|
||||||
if (machine->snapshot != NULL) {
|
if (machine->snapshot != NULL) {
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||||
_("Unable to add this snapshot, there is already a snapshot "
|
_("Unable to add this snapshot, there is already a snapshot linked to the machine"));
|
||||||
"linked to the machine"));
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
machine->snapshot = snapshot;
|
machine->snapshot = snapshot;
|
||||||
@ -840,8 +839,7 @@ virVBoxSnapshotConfRemoveSnapshot(virVBoxSnapshotConfMachine *machine,
|
|||||||
}
|
}
|
||||||
if (snapshot->nchildren > 0) {
|
if (snapshot->nchildren > 0) {
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||||
_("This snapshot has children, "
|
_("This snapshot has children, please delete these snapshots before"));
|
||||||
"please delete these snapshots before"));
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user