This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 47c4b41  storage: VMware storage capabilities fixes (#580)
47c4b41 is described below

commit 47c4b41aa5f0319d250c0c0d45d1949a4f3f02e6
Author: Pearl Dsilva <[email protected]>
AuthorDate: Fri Aug 14 16:27:49 2020 +0530

    storage: VMware storage capabilities fixes (#580)
    
    Co-authored-by: Pearl Dsilva <[email protected]>
---
 src/views/infra/AddPrimaryStorage.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/infra/AddPrimaryStorage.vue 
b/src/views/infra/AddPrimaryStorage.vue
index fb9fa63..00716a4 100644
--- a/src/views/infra/AddPrimaryStorage.vue
+++ b/src/views/infra/AddPrimaryStorage.vue
@@ -488,16 +488,16 @@ export default {
           Object.keys(smbParams).forEach((key, index) => {
             params['details[' + index.toString() + '].' + key] = smbParams[key]
           })
-        } else if (values.protocol === 'PreSetup' && values.hypervisor !== 
'VMware') {
+        } else if (values.protocol === 'PreSetup' && this.hypervisorType !== 
'VMware') {
           url = this.presetupURL(server, path)
-        } else if (values.protocol === 'PreSetup' && values.hypervisor === 
'VMware') {
+        } else if (values.protocol === 'PreSetup' && this.hypervisorType === 
'VMware') {
           path = values.vCenterDataCenter
           if (path.substring(0, 1) !== '/') {
             path = '/' + path
           }
           path += '/' + values.vCenterDataStore
           url = this.presetupURL(server, path)
-        } else if (values.protocol === 'datastorecluster' && values.hypervisor 
=== 'VMware') {
+        } else if (values.protocol === 'datastorecluster' && 
this.hypervisorType === 'VMware') {
           path = values.vCenterDataCenter
           if (path.substring(0, 1) !== '/') {
             path = '/' + path

Reply via email to