You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by sh...@apache.org on 2022/08/05 05:12:23 UTC
[cloudstack] branch 4.17 updated: ui: fix hypervisortrafficlabel for phy nw traffic (#6612)
This is an automated email from the ASF dual-hosted git repository.
shwstppr pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.17 by this push:
new 167cd17d7c ui: fix hypervisortrafficlabel for phy nw traffic (#6612)
167cd17d7c is described below
commit 167cd17d7c39d0529f076a33d4a59c2e08c9cb1b
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Fri Aug 5 10:42:13 2022 +0530
ui: fix hypervisortrafficlabel for phy nw traffic (#6612)
Fixes: #6593
Before fix UI was setting vlan to 'null' when no value was passed. Now it just leaves the vlan value empty in the trafficlabel.
Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
ui/src/views/infra/zone/ZoneWizardLaunchZone.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue b/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue
index 7f23c3b643..1fd8e49abf 100644
--- a/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue
+++ b/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue
@@ -248,7 +248,7 @@ export default {
if (trafficLabel.length > 0) {
trafficLabel += ','
}
- trafficLabel += trafficConfig.vlanId
+ trafficLabel += trafficConfig.vlanId || ''
}
if ('vSwitchType' in trafficConfig) {
if (trafficLabel.length > 0) {