jerbo99 commented on a change in pull request #3035:
URL: https://github.com/apache/incubator-shenyu/pull/3035#discussion_r825534620
##########
File path:
shenyu-admin/src/main/java/org/apache/shenyu/admin/disruptor/executor/RegisterServerConsumerExecutor.java
##########
@@ -64,8 +58,7 @@ public void run() {
private boolean isValidData(final Object data) {
if (data instanceof URIRegisterDTO) {
URIRegisterDTO uriRegisterDTO = (URIRegisterDTO) data;
- return Objects.nonNull(uriRegisterDTO.getPort())
- && StringUtils.isNoneBlank(uriRegisterDTO.getAppName(),
uriRegisterDTO.getHost());
+ return StringUtils.isNotBlank(uriRegisterDTO.getContextPath());
Review comment:
The status of the upstream service is set in CommonUpstreamUtils.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]