diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-29 17:40:08 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-29 17:40:08 -0700 |
| commit | 9e72e9e4b8d58e0f6f99088f0e449d1c9c55e562 (patch) | |
| tree | 4b3b24e0bc17b9597010ce18892a5cb8264476d7 /weed/s3api/filer_util.go | |
| parent | ed3cf811f576e2dd9fd1c1fb0df967d7fb9e6f1c (diff) | |
| download | seaweedfs-9e72e9e4b8d58e0f6f99088f0e449d1c9c55e562.tar.xz seaweedfs-9e72e9e4b8d58e0f6f99088f0e449d1c9c55e562.zip | |
able to subscribe any topic from any point of time
Diffstat (limited to 'weed/s3api/filer_util.go')
| -rw-r--r-- | weed/s3api/filer_util.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/s3api/filer_util.go b/weed/s3api/filer_util.go index 51249cf39..7f49c320e 100644 --- a/weed/s3api/filer_util.go +++ b/weed/s3api/filer_util.go @@ -23,8 +23,9 @@ func (s3a *S3ApiServer) mkFile(parentDirectoryPath string, fileName string, chun func (s3a *S3ApiServer) list(parentDirectoryPath, prefix, startFrom string, inclusive bool, limit uint32) (entries []*filer_pb.Entry, err error) { - err = filer_pb.List(s3a, parentDirectoryPath, prefix, func(entry *filer_pb.Entry, isLast bool) { + err = filer_pb.List(s3a, parentDirectoryPath, prefix, func(entry *filer_pb.Entry, isLast bool) error { entries = append(entries, entry) + return nil }, startFrom, inclusive, limit) return |
