rohityadavcloud commented on code in PR #6851:
URL: https://github.com/apache/cloudstack/pull/6851#discussion_r1044563146
##########
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:
##########
@@ -971,6 +972,17 @@ public ListResponse<UserVmResponse>
searchForUserVMs(ListVMsCmd cmd) {
return response;
}
+ private Object getObjectPossibleMethodValue(Object obj, String methodName)
{
+ Object result = null;
+
+ try {
+ Method m = obj.getClass().getMethod(methodName);
+ result = m.invoke(obj);
+ } catch (NoSuchMethodException | InvocationTargetException |
IllegalAccessException ignored) {}
Review Comment:
Perhaps log here? @DaanHoogland or do you think we may never hit this?
--
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]