NPE guard for null response; fixes gh-1224
This commit is contained in:
@@ -48,8 +48,7 @@ import org.springframework.util.StringUtils;
|
||||
public class DefaultEndpointLocator implements EndpointLocator,
|
||||
ApplicationListener<ServletWebServerInitializedEvent> {
|
||||
|
||||
private static final Log log = LogFactory
|
||||
.getLog(DefaultEndpointLocator.class);
|
||||
private static final Log log = LogFactory.getLog(DefaultEndpointLocator.class);
|
||||
|
||||
private static final String IP_ADDRESS_PROP_NAME = "spring.cloud.client.ipAddress";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user