mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
fix (s3): versitygw issue
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user