mirror of
https://github.com/mickael-kerjean/filestash
synced 2026-01-06 15:55:30 +01:00
fix (s3): versitygw issue
This commit is contained in:
parent
5c2c5e2dca
commit
4b0de2454a
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue