removed references to ServiceInstance.getIpAddress
This commit is contained in:
@@ -224,9 +224,6 @@ public class HystrixStreamTask {
|
||||
json.writeNumberField("port", localService.getPort());
|
||||
json.writeStringField("serviceId", localService.getServiceId());
|
||||
json.writeStringField("id", context.getId());
|
||||
if (localService.getIpAddress() != null) {
|
||||
json.writeStringField("ipAddress", localService.getIpAddress());
|
||||
}
|
||||
json.writeEndObject();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,7 +53,6 @@ public class Aggregator {
|
||||
if (!StringUtils.hasText(instanceId)) {
|
||||
//TODO: instanceid template
|
||||
instanceId = origin.get("serviceId")+":"+origin.get("host")+":"+origin.get("port");
|
||||
//instanceId = origin.get("serviceId") + ":" + origin.get("ipAddress") + ":" + origin.get("port");
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in New Issue
Block a user