shwstppr commented on PR #10899:
URL: https://github.com/apache/cloudstack/pull/10899#issuecomment-3043683756

   @sureshanaparti On latest main branch,
   
   ```
   cloudstack|main ⇒  git --no-pager grep "api(" ui/                            
                                                                                
                                                                    main|⚑32 
   ui/src/components/view/ImageDeployInstanceButton.vue:      
api(this.imageApi, params).then(json => {
   ui/src/components/view/ImageDeployInstanceButton.vue:      api('listZones', 
{ showicon: true, ids: zoneids.join(',') }).then(json => {
   ui/src/views/compute/KubernetesAddNodes.vue:        
api('listVirtualMachines', {
   ui/src/views/compute/KubernetesAddNodes.vue:        
api('addNodesToKubernetesCluster', params).then(json => {
   ui/src/views/compute/KubernetesRemoveNodes.vue:        
api('removeNodesFromKubernetesCluster', params).then(json => {
   ```
   
   Also, in
   ```
   cloudstack|main ⇒  git --no-pager grep "postAPI(" 
ui/src/components/widgets/InfiniteScrollSelect.vue                              
                                                                                
               main|⚑32 
   ui/src/components/widgets/InfiniteScrollSelect.vue:      postAPI(this.api, 
params).then(json => {
   ```
   APIs here are supposed to be list APIs so should it call getAPI?
   
   


-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to