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 2018/11/07 14:30:41 UTC

[GitHub] csquire commented on a change in pull request #3005: Discover tags field on superclass of API responses

csquire commented on a change in pull request #3005: Discover tags field on superclass of API responses
URL: https://github.com/apache/cloudstack/pull/3005#discussion_r231526097
 
 

 ##########
 File path: plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
 ##########
 @@ -109,7 +107,12 @@ public boolean start() {
             }
             response.setRelated(responseName);
 
-            Field[] responseFields = apiCmdAnnotation.responseObject().getDeclaredFields();
+            List<Field> responseFields = new ArrayList<>(Arrays.asList(responseClass.getDeclaredFields()));
 
 Review comment:
   Sure, done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services