Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed display of worker memory threshold settings
Fixed couple of scenarios - Updated code to use `get_worker_setting` method - Worker memory threshold of 1 GB or above was not reflected on Workers tab because https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/controllers/ops_controller/settings/common.rb#L997 value of variable `x` needs to be converted to integer value from a float so value can be selected correctly in the drop down. - If a value in yaml config file is set to as 600.megabytes, it is being returned as a string, so need to evaluate/convert the value so it can be correctly selected in the drop down. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1656873 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1658373 (cherry picked from commit 6a20b57)
- Loading branch information
Showing
2 changed files
with
68 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters