cli
cli copied to clipboard
image/tree: Hide Content size column without containerd store
trafficstars
- stacked on: https://github.com/docker/cli/pull/5744
With graph drivers, all content sizes are zero because the compressed content isn't stored. This makes the whole column useless and wasting the terminal space.
Hide the whole column if all its values would be zero.
Before
After
Codecov Report
Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.
Project coverage is 59.17%. Comparing base (
5b90e0e) to head (203ce87).
Additional details and impacted files
@@ Coverage Diff @@
## master #5771 +/- ##
==========================================
- Coverage 59.20% 59.17% -0.04%
==========================================
Files 353 353
Lines 29522 29538 +16
==========================================
Hits 17478 17478
- Misses 11072 11088 +16
Partials 972 972
@vvoland did you want this merged soon?