mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-28 13:31:27 +08:00
s3: "isLast" returns true when the file does not exist
This commit is contained in:
parent
130ccdeb2e
commit
828fbf3fb7
@ -31,6 +31,10 @@ func (s3a *S3ApiServer) list(parentDirectoryPath, prefix, startFrom string, incl
|
||||
return nil
|
||||
}, startFrom, inclusive, limit)
|
||||
|
||||
if len(entries) == 0 {
|
||||
isLast = true
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user