mirror of https://github.com/apache/cloudstack.git
LOUDSTACK-2914: handle situation when serviceProvider map is empty
This commit is contained in:
parent
bd699390a6
commit
952fa2464d
|
|
@ -4007,7 +4007,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
|
|||
}
|
||||
}
|
||||
|
||||
if (serviceProviderMap.containsKey(Service.Lb) && !internalLb && !publicLb) {
|
||||
if (serviceProviderMap != null && serviceProviderMap.containsKey(Service.Lb) && !internalLb && !publicLb) {
|
||||
//if not specified, default public lb to true
|
||||
publicLb = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue