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

sureshanaparti pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new 94e5ceff7ff linstor-ui: Fix add primary storage if Linstor protocol 
selected (#9327)
94e5ceff7ff is described below

commit 94e5ceff7ff3c31a5ee7344c60e9e9a16c38ec28
Author: Rene Peinthor <rene.peint...@linbit.com>
AuthorDate: Thu Jul 4 11:33:38 2024 +0200

    linstor-ui: Fix add primary storage if Linstor protocol selected (#9327)
    
    url param wasn't set if protocol Linstor is selected
---
 ui/src/views/infra/AddPrimaryStorage.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/infra/AddPrimaryStorage.vue 
b/ui/src/views/infra/AddPrimaryStorage.vue
index 0b9b7aec7c6..1420d7b6ff1 100644
--- a/ui/src/views/infra/AddPrimaryStorage.vue
+++ b/ui/src/views/infra/AddPrimaryStorage.vue
@@ -879,7 +879,7 @@ export default {
           url = values.flashArrayURL
         }
 
-        if (values.provider === 'Linstor') {
+        if (values.provider === 'Linstor' || values.protocol === 'Linstor') {
           url = this.linstorURL(server)
           values.managed = false
           params['details[0].resourceGroup'] = values.resourcegroup

Reply via email to