moremind commented on code in PR #5530:
URL: https://github.com/apache/shenyu/pull/5530#discussion_r1555458973


##########
shenyu-admin/src/main/java/org/apache/shenyu/admin/transfer/DiscoveryTransfer.java:
##########
@@ -53,6 +53,7 @@ public enum DiscoveryTransfer {
      * @return DiscoveryUpstreamDO
      */
     public DiscoveryUpstreamDO mapToDo(DiscoveryUpstreamData 
discoveryUpstreamData) {
+        if (discoveryUpstreamData == null)    return null;
         return DiscoveryUpstreamDO.builder()

Review Comment:
   Bad grammar



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