LOUDSTACK-2914: handle situation when serviceProvider map is empty

This commit is contained in:
Alena Prokharchyk 2013-06-17 10:50:22 -07:00
parent bd699390a6
commit 952fa2464d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}