mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
iscsi: Use error message from virStorageBackendSCSIFindLUs
Don't supercede the error message virStorageBackendSCSIFindLUs as the message such as "error: Failed to find LUs on host 60: ..." is not overly clear as to what the real problem might be. Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
22592a3feb
commit
d9ece06526
@ -146,11 +146,8 @@ virStorageBackendISCSIFindLUs(virStoragePoolObjPtr pool,
|
||||
retval = -1;
|
||||
}
|
||||
|
||||
if (virStorageBackendSCSIFindLUs(pool, host) < 0) {
|
||||
virReportSystemError(errno,
|
||||
_("Failed to find LUs on host %u"), host);
|
||||
if (virStorageBackendSCSIFindLUs(pool, host) < 0)
|
||||
retval = -1;
|
||||
}
|
||||
|
||||
VIR_FREE(sysfs_path);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user