mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	NPE fix, for test_hostha_kvm_host_fencing (#9355)
This commit is contained in:
		
							parent
							
								
									ca66b76cb9
								
							
						
					
					
						commit
						37c91abd3d
					
				| @ -718,6 +718,8 @@ public class CapacityManagerImpl extends ManagerBase implements CapacityManager, | ||||
|                 if (vmDetailCpu != null) { | ||||
|                     //if vmDetail_cpu is not null it means it is running in a overcommited cluster. | ||||
|                     cpuOvercommitRatio = Float.parseFloat(vmDetailCpu.getValue()); | ||||
|                 } | ||||
|                 if (vmDetailRam != null) { | ||||
|                     ramOvercommitRatio = Float.parseFloat(vmDetailRam.getValue()); | ||||
|                 } | ||||
|                 ServiceOffering so = offeringsMap.get(vm.getServiceOfferingId()); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user