Handle null serviceId. (#1034)
This commit is contained in:
committed by
GitHub
parent
7cb8c34978
commit
331b523513
@@ -82,7 +82,7 @@ public class LoadBalancerClientFactory extends NamedContextFactory<LoadBalancerC
|
||||
}
|
||||
return null;
|
||||
}
|
||||
if (!properties.getClients().containsKey(serviceId)) {
|
||||
if (serviceId == null || !properties.getClients().containsKey(serviceId)) {
|
||||
// no specific client properties, return default
|
||||
return properties;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user