fix (s3): versitygw issue

This commit is contained in:
MickaelK 2025-01-10 16:05:19 +11:00
parent 5c2c5e2dca
commit 4b0de2454a

View file

@ -213,7 +213,7 @@ func (this S3Backend) Ls(path string) (files []os.FileInfo, err error) {
}
size := 0
if object.Size != nil {
size = *object.Size
size = int(*object.Size)
}
files = append(files, &File{
FName: filepath.Base(*object.Key),