mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Merge pull request #1886 from wuh-fnst/listMultipartEmptyIsLast
s3: "isLast" returns true when the file does not exist
This commit is contained in:
commit
2e19760442
|
@ -31,6 +31,10 @@ func (s3a *S3ApiServer) list(parentDirectoryPath, prefix, startFrom string, incl
|
||||||
return nil
|
return nil
|
||||||
}, startFrom, inclusive, limit)
|
}, startFrom, inclusive, limit)
|
||||||
|
|
||||||
|
if len(entries) == 0 {
|
||||||
|
isLast = true
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue