Skip to content

Memory unit shown 'undefined' in ui #211

@bhanvimenghani

Description

@bhanvimenghani

Problem Faced:
The memory unit in ui comes as "undefined" for certain input cases.
image

Expectations / Delivery Requirements:
undefined on the ui should not be displayed in any case.

Backstory/logic
api call does not have memory in bytes it has it in mib already, ui was not prepared for this, ui function assumed that the input will always be in bytes and thus this becomes an edge case which needs to be handled on ui itself. We need to check what is the unit and based on that - update the units.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions