ernoaapa / eliot

Open source system for managing containerized applications in IoT device
https://docs.eliot.run
Apache License 2.0
269 stars 20 forks source link

Update 'eli describe node' to print mounts in human-readable sizes #36

Closed ernoaapa closed 6 years ago

ernoaapa commented 6 years ago

Previously eli describe node were printing just mount sizes in bytes. This wasn't really user-friendly and "human-readable" as it should so update the output to print the sizes in GB, MB, etc.

codecov[bot] commented 6 years ago

Codecov Report

Merging #36 into master will increase coverage by 0.09%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
+ Coverage   25.17%   25.26%   +0.09%     
==========================================
  Files          50       50              
  Lines        2415     2418       +3     
==========================================
+ Hits          608      611       +3     
  Misses       1740     1740              
  Partials       67       67
Impacted Files Coverage Δ
pkg/printers/humanreadable.go 56.25% <100%> (+1.41%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update db5d4a4...89992ba. Read the comment docs.