Skip to content

Commit 94e5cef

Browse files
authored
linstor-ui: Fix add primary storage if Linstor protocol selected (#9327)
url param wasn't set if protocol Linstor is selected
1 parent 79b1427 commit 94e5cef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/views/infra/AddPrimaryStorage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ export default {
879879
url = values.flashArrayURL
880880
}
881881
882-
if (values.provider === 'Linstor') {
882+
if (values.provider === 'Linstor' || values.protocol === 'Linstor') {
883883
url = this.linstorURL(server)
884884
values.managed = false
885885
params['details[0].resourceGroup'] = values.resourcegroup

0 commit comments

Comments
 (0)