mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
Fix mis-leading error message in pool delete API
When trying to delete a pool the error message claimed the volume could not be deleted. * src/storage/storage_driver.c: Error message referred to volumes instead of pools
This commit is contained in:
parent
1227d08640
commit
e609aae673
@ -822,7 +822,7 @@ storagePoolDelete(virStoragePoolPtr obj,
|
||||
|
||||
if (!backend->deletePool) {
|
||||
virStorageReportError(VIR_ERR_NO_SUPPORT,
|
||||
"%s", _("pool does not support volume delete"));
|
||||
"%s", _("pool does not support pool deletion"));
|
||||
goto cleanup;
|
||||
}
|
||||
if (backend->deletePool(obj->conn, pool, flags) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user