Values obtained from the API in memory details are expressed as
immutable booleans instead of strings like 'True'.
This change replaces strings with booleans so the conditionals in
templates are interpreted correctly.
Test plan
PASS: Build and install starlingx_dashboard package on a Debian
deploy.
Navigate to Host detail, select 'Memory' tab.
Columns 'Application pages' and 'vSwitch pages' show memory
details.
Reviewed: https:/ /review. opendev. org/c/starlingx /gui/+/ 861666 /opendev. org/starlingx/ gui/commit/ 1c6b979d862047a 02c9152cb15d6ba 0737ba4d33
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1c6b979d862047a 02c9152cb15d6ba 0737ba4d33
Author: Agustin Carranza <email address hidden>
Date: Mon Oct 17 16:43:42 2022 -0300
Replace strings with booleans in memory details
Values obtained from the API in memory details are expressed as
immutable booleans instead of strings like 'True'.
This change replaces strings with booleans so the conditionals in
templates are interpreted correctly.
Test plan
PASS: Build and install starlingx_dashboard package on a Debian
deploy.
Navigate to Host detail, select 'Memory' tab.
Columns 'Application pages' and 'vSwitch pages' show memory
details.
Closes-bug: 1993206
Signed-off-by: Agustin Carranza <email address hidden> 79149393b59b3ec fba38a1bbff
Change-Id: Ie896ef596266f0