From 43ec976b18cf5132f8c620d85254b7dd212a604d Mon Sep 17 00:00:00 2001 From: Rafael Moyano Date: Fri, 25 Aug 2023 17:39:09 -0300 Subject: [PATCH] Fix Display Issue for vSwitch Hugepages Textbox label has been modified to "#of vSwitch 1G/2M Hugepages" in order to give a better description when the vSwitch Hugepage Size Node is changed from GB to MB in the Update Memory form. Closes-Bug: 2033098 Change-Id: Id0029f9223af90f2f40050f8eb6fa0d5d796d63d Signed-off-by: Rafael Moyano --- .../dashboards/admin/inventory/memories/forms.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/inventory/memories/forms.py b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/inventory/memories/forms.py index ac4af784..eb4f7c2d 100644 --- a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/inventory/memories/forms.py +++ b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/dashboards/admin/inventory/memories/forms.py @@ -1,4 +1,4 @@ -# Copyright (c) 2013-2021 Wind River Systems, Inc. +# Copyright (c) 2013-2023 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # @@ -122,7 +122,7 @@ class UpdateMemory(forms.SelfHandlingForm): '# of Application 1G Hugepages Node 0'})) vswitch_hugepages_reqd = forms.CharField( - label=_("# of vSwitch 1G Hugepages Node 0"), + label=_("# of vSwitch Hugepages Node 0"), required=False) vswitch_hugepages_size_mib = forms.ChoiceField( @@ -166,7 +166,7 @@ class UpdateMemory(forms.SelfHandlingForm): '# of Application 1G Hugepages Node 1'})) vswitch_hugepages_reqd_two = forms.CharField( - label=_("# of vSwitch 1G Hugepages Node 1"), + label=_("# of vSwitch Hugepages Node 1"), required=False) vswitch_hugepages_size_mib_two = forms.ChoiceField( @@ -207,7 +207,7 @@ class UpdateMemory(forms.SelfHandlingForm): '# of Application 1G Hugepages Node 2'})) vswitch_hugepages_reqd_three = forms.CharField( - label=_("# of vSwitch 1G Hugepages Node 2"), + label=_("# of vSwitch Hugepages Node 2"), required=False) vswitch_hugepages_size_mib_three = forms.ChoiceField( @@ -248,7 +248,7 @@ class UpdateMemory(forms.SelfHandlingForm): '# of Application 1G Hugepages Node 3'})) vswitch_hugepages_reqd_four = forms.CharField( - label=_("# of vSwitch 1G Hugepages Node 3"), + label=_("# of vSwitch Hugepages Node 3"), required=False) vswitch_hugepages_size_mib_four = forms.ChoiceField(