mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
posix: Do not lowercase names, return as is. Object layer will filter them out. (#1699)
This commit is contained in:
parent
7ae5470395
commit
f6d9e73548
6
posix.go
6
posix.go
@ -210,12 +210,8 @@ func (s fsStorage) ListVols() (volsInfo []VolInfo, err error) {
|
||||
return nil, err
|
||||
}
|
||||
for i, vol := range volsInfo {
|
||||
// Volname on case sensitive fs backends can come in as
|
||||
// capitalized, but object layer cannot consume it
|
||||
// directly. Convert it as we see fit.
|
||||
volName := strings.ToLower(vol.Name)
|
||||
volInfo := VolInfo{
|
||||
Name: volName,
|
||||
Name: vol.Name,
|
||||
Created: vol.Created,
|
||||
Total: diskInfo.Total,
|
||||
Free: diskInfo.Free,
|
||||
|
Loading…
Reference in New Issue
Block a user