Aias00 commented on code in PR #6272:
URL: https://github.com/apache/shenyu/pull/6272#discussion_r2693801899


##########
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckService.java:
##########
@@ -222,6 +222,12 @@ private List<CommonUpstream> submitJust(final String 
selectorId, final CommonUps
             if (!exists.isPresent()) {
                 upstreams.add(commonUpstream);
             } else {
+                CommonUpstream existUpstream = exists.get();
+                
existUpstream.setHealthCheckEnabled(commonUpstream.isHealthCheckEnabled());
+                if (!existUpstream.isHealthCheckEnabled()) {

Review Comment:
   if !existUpstream.isHealthCheckEnabled() should be always on



-- 
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]

Reply via email to