sureshanaparti commented on pull request #5854:
URL: https://github.com/apache/cloudstack/pull/5854#issuecomment-1011859038


   > @sureshanaparti as far as I know `filter` is a cmk/cloudmonkey param.
   > 
   > ```
   > 2022-01-13 06:51:28,225 DEBUG [c.c.a.ApiServlet] 
(qtp1603198149-21:ctx-9756f46e) (logid:4d9e7b6a) ===START===  172.20.0.1 -- GET 
 
listall=true&page=1&pagesize=20&showIcon=true&command=listVirtualMachinesMetrics&response=json&filter=name
   > 2022-01-13 06:51:28,233 DEBUG [c.c.a.ApiServer] 
(qtp1603198149-21:ctx-9756f46e ctx-2429a961) (logid:4d9e7b6a) CIDRs from which 
account 'Acct[f9e9afab-721d-11ec-98bd-525400ae2f99-admin] -- Account {"id": 2, 
"name": "admin", "uuid": "f9e9afab-721d-11ec-98bd-525400ae2f99"}' is allowed to 
perform API calls: 0.0.0.0/0,::/0
   > 2022-01-13 06:51:28,239 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(qtp1603198149-21:ctx-9756f46e ctx-2429a961) (logid:4d9e7b6a) Received unknown 
parameters for command listVirtualMachinesMetrics. Unknown parameters : filter
   > 2022-01-13 06:51:28,277 DEBUG [c.c.a.ApiServlet] 
(qtp1603198149-21:ctx-9756f46e ctx-2429a961) (logid:4d9e7b6a) ===END===  
172.20.0.1 -- GET  
listall=true&page=1&pagesize=20&showIcon=true&command=listVirtualMachinesMetrics&response=json&filter=name
   > ```
   > 
   > Considering empty value of `trim` as true would change default behaviour 
of the API that some people may not like
   
   ok, got it @shwstppr 


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