storage_backend_rbd: fix typos
s/failed/failed to Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
This commit is contained in:
parent
4362ff4337
commit
6de1d22cca
@ -894,7 +894,7 @@ virStorageBackendRBDSnapshotProtect(rbd_image_t image,
|
|||||||
VIR_DEBUG("Querying if RBD snapshot %s@%s is protected", imgname, snapname);
|
VIR_DEBUG("Querying if RBD snapshot %s@%s is protected", imgname, snapname);
|
||||||
|
|
||||||
if ((r = rbd_snap_is_protected(image, snapname, &protected)) < 0) {
|
if ((r = rbd_snap_is_protected(image, snapname, &protected)) < 0) {
|
||||||
virReportSystemError(-r, _("failed verify if RBD snapshot %s@%s "
|
virReportSystemError(-r, _("failed to verify if RBD snapshot %s@%s "
|
||||||
"is protected"), imgname, snapname);
|
"is protected"), imgname, snapname);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
@ -904,7 +904,7 @@ virStorageBackendRBDSnapshotProtect(rbd_image_t image,
|
|||||||
imgname, snapname);
|
imgname, snapname);
|
||||||
|
|
||||||
if ((r = rbd_snap_protect(image, snapname)) < 0) {
|
if ((r = rbd_snap_protect(image, snapname)) < 0) {
|
||||||
virReportSystemError(-r, _("failed protect RBD snapshot %s@%s"),
|
virReportSystemError(-r, _("failed to protect RBD snapshot %s@%s"),
|
||||||
imgname, snapname);
|
imgname, snapname);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user