You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/09/02 08:49:06 UTC

[GitHub] [cloudstack-primate] Pearl1594 commented on a change in pull request #649: Filter vms based on zones for attaching volumes

Pearl1594 commented on a change in pull request #649:
URL: https://github.com/apache/cloudstack-primate/pull/649#discussion_r481901720



##########
File path: src/config/section/storage.js
##########
@@ -101,6 +101,12 @@ export default {
           label: 'label.action.attach.disk',
           message: 'message.confirm.attach.disk',
           args: ['virtualmachineid'],
+          mapping: {
+            virtualmachineid: {
+              api: 'listVirtualMachines',
+              params: (record) => { return { zoneid: record.zoneid, domainid: record.domainid, account: record.account, hypervisor: record.hypervisor } }

Review comment:
       This will require some additional checks. 




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

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