Skip to content

Commit 8482eb5

Browse files
Ramkishor Chaladiallmightyspiff
authored andcommitted
Update plugin/commands/block/volume_count.go
as suggested update it Co-authored-by: CHRISTOPHER GALLO <cgallo@us.ibm.com>
1 parent 08131e2 commit 8482eb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/commands/block/volume_count.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (cmd *VolumeCountCommand) Run(args []string) error {
7575

7676
table := cmd.UI.Table([]string{T("Data center"), T("Count")})
7777

78-
if sortby == "Count" || sortby == "count" {
78+
if strings.ToLower(sortby) == "count" {
7979
for key := range result {
8080
keys = append(keys, key)
8181
}

0 commit comments

Comments
 (0)