mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3994: fix for Wrong error notification is generated when Primary storage is added with wrong path
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
This commit is contained in:
parent
789438651a
commit
93172df556
@ -472,6 +472,8 @@ public class CloudStackPrimaryDataStoreLifeCycleImpl implements PrimaryDataStore
|
||||
HypervisorType hType = null;
|
||||
if(hostPoolRecords.size() > 0 ){
|
||||
hType = getHypervisorType(hostPoolRecords.get(0).getHostId());
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Remove the SR associated with the Xenserver
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user