NyaMisty
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
weed/shell/command_volume_list.go
|
@ -190,7 +190,7 @@ func (c *commandVolumeList) writeDiskInfo(writer io.Writer, t *master_pb.DiskInf |
|
|
diskType = types.HddType |
|
|
diskType = types.HddType |
|
|
} |
|
|
} |
|
|
slices.SortFunc(t.VolumeInfos, func(a, b *master_pb.VolumeInformationMessage) int { |
|
|
slices.SortFunc(t.VolumeInfos, func(a, b *master_pb.VolumeInformationMessage) int { |
|
|
return int(a.Id - b.Id) |
|
|
|
|
|
|
|
|
return int(a.Id) - int(b.Id) |
|
|
}) |
|
|
}) |
|
|
volumeInfosFound := false |
|
|
volumeInfosFound := false |
|
|
for _, vi := range t.VolumeInfos { |
|
|
for _, vi := range t.VolumeInfos { |
|
|