mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	This adds a NPE check on the s_depot.global() which can cause NPE in case of unit tests, where s_depot is not null but the underlying config dao is null (not mocked or initialised) via `s_depot.global()` becomes null. This reverts commit 5f73172bcbe975e4ef416e525dc95bad63fa6d3a. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>