mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue