Skip to content

Show human-readable size as 1.00 MB instead of 1024.00 KB #13

@micellius

Description

@micellius

Description

If size of file or size limit of service instance is exactly 1024 KB, it should be shown as 1.00 MB instead of 1024.00 KB in html5-list and html5-info

Environment

  • OS (macOS/Windows) - all
  • SAP CF Landscape (e.g. Canary) -Canary
  • IaaS provider (e.g. AWS) - AWS
  • Region (e.g. eu10) - sap

CLI Output

$> cf html5-info
Getting information about all app-host service instances in org ORG / space SPACE as USER...
OK

name                  app-host-id                            used        size limit   status     last changed 
test-repo-dt          b81e4132-0c46-4aaf-bdab-c5a894c35329   0 bytes     1024.00 KB   INITIAL    Thu, 14 Mar 2019 15:44:35 GMT

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions