You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/09/09 13:50:35 UTC

[GitHub] [cloudstack] GutoVeronezi commented on a diff in pull request #6357: Add logs to the listLoadBalancerRuleInstances API

GutoVeronezi commented on code in PR #6357:
URL: https://github.com/apache/cloudstack/pull/6357#discussion_r967095313


##########
engine/schema/src/main/java/com/cloud/network/dao/LoadBalancerVO.java:
##########
@@ -136,4 +136,9 @@ public Scheme getScheme() {
     public String getCidrList() {
         return cidrList;
     }
+
+    @Override
+    public String toString() {
+        return String.format("Load Balancer {uuid: \"%s\", name: \"%s\"}", getUuid(), name);

Review Comment:
   `ReflectionToStringBuilderUtils` uses `ReflectionUtils.getAllFields`, which will also retrieve fields of the super types too; therefore it will work properly.



-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org