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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]