Skip to content

Commit e7dcfde

Browse files
committed
ui: fix hypervisortrafficlabel for phy nw traffic
Fixes: #6593 Before fix UI was setting nlac to 'null' when no value was passed. Now it just leaves the vlan value empty in the trafficlabel. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent 7d50b65 commit e7dcfde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/infra/zone/ZoneWizardLaunchZone.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export default {
248248
if (trafficLabel.length > 0) {
249249
trafficLabel += ','
250250
}
251-
trafficLabel += trafficConfig.vlanId
251+
trafficLabel += trafficConfig.vlanId || ''
252252
}
253253
if ('vSwitchType' in trafficConfig) {
254254
if (trafficLabel.length > 0) {

0 commit comments

Comments
 (0)