Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Better header #75

Merged
merged 2 commits into from
Jun 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/output/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func VolumeManifest(v models.V1VolumeResponse, name, namespace string) error {
}

func (p VolumeClusterInfoTablePrinter) Print(data []*models.V1StorageClusterInfo) {
p.wideHeader = []string{"Partition", "Version", "Health", "Nodes NA", "Volumes D/NA/RO", "physical installed/managed", "physical Effective/Free/Used", "Logical Total/Used", "estimated logical Free/Logical", "Compression"}
p.wideHeader = []string{"Partition", "Version", "Health", "Nodes NA", "Volumes D/NA/RO", "Physical Installed/Managed", "Physical Effective/Free/Used", "Logical Total/Used", "Estimated Total/Free", "Compression"}
p.shortHeader = p.wideHeader

for _, info := range data {
Expand Down Expand Up @@ -214,7 +214,7 @@ func (p VolumeClusterInfoTablePrinter) Print(data []*models.V1StorageClusterInfo
installedphysicalstorage + "/" + managedphysicalstorage,
effectivephysicalstorage + "/" + freephysicalstorage + "/" + physicalusedstorage,
logicalstorage + "/" + logicalusedstorage,
estimatedfreelogicalstorage + "/" + estimatedlogicalstorage,
estimatedlogicalstorage + "/" + estimatedfreelogicalstorage,
compressionratio,
}
short := wide
Expand Down