dheeraj12347 opened a new pull request, #208:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/208

   This PR fixes issue #197 where using filter=count resulted in empty objects 
being printed in list responses.
   
   ### Problem
   When filter=count is applied, CloudMonkey still iterates over list items and 
prints empty `{}` entries.
   
   ### Fix
   - Skip empty rows after filtering
   - Omit list fields when no valid entries remain
   - Preserve only relevant top-level fields (e.g., "count")
   
   ### Result
   Now the output correctly returns:
   {
     "count": <value>
   }
   
   instead of including empty objects.
   
   Tested locally with CloudMonkey CLI build.


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