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 <rafael.moyano@windriver.com>
This commit is contained in:
Rafael Moyano 2023-08-25 17:39:09 -03:00
parent 26d37f6eb6
commit 43ec976b18
1 changed files with 5 additions and 5 deletions

View File

@ -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(