Skip to content

Commit eb4e09e

Browse files
author
Mice Xia
committed
CS-16048 Failled to assign VLAN to storage network in zoneWizard
1 parent b42a813 commit eb4e09e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎ui/scripts/zoneWizard.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2479,7 +2479,8 @@
24792479

24802480
$(storageIPRanges).each(function() {
24812481
var item = this;
2482-
2482+
if('vlan' in item && (item.vlan == null || item.vlan.length == 0))
2483+
delete item.vlan;
24832484
$.ajax({
24842485
url: createURL('createStorageNetworkIpRange'),
24852486
data: $.extend(true, {}, item, {

0 commit comments

Comments
 (0)