diff options
| author | chrislu <chris.lu@gmail.com> | 2025-11-05 13:50:20 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-11-05 13:50:20 -0800 |
| commit | d8bef68752a7548d280f09cb244762943e4db6f7 (patch) | |
| tree | 58363c03a2ae14b93ec7f21babcb286fd99d3d0e | |
| parent | c087a47d38af8461d75c5a4f37faee2aad342051 (diff) | |
| download | seaweedfs-d8bef68752a7548d280f09cb244762943e4db6f7.tar.xz seaweedfs-d8bef68752a7548d280f09cb244762943e4db6f7.zip | |
join path
| -rw-r--r-- | weed/s3api/filer_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/filer_util.go b/weed/s3api/filer_util.go index 0ec3df771..bd36c69e4 100644 --- a/weed/s3api/filer_util.go +++ b/weed/s3api/filer_util.go @@ -126,7 +126,7 @@ func (s3a *S3ApiServer) updateEntriesTTL(parentDirectoryPath string, ttlSec int3 if listErr := filer_pb.SeaweedList(ctx, client, dir, "", func(entry *filer_pb.Entry, isLast bool) error { if entry.IsDirectory { // Add subdirectory to queue for processing - dirsToProcess = append(dirsToProcess, fmt.Sprintf("%s/%s", strings.TrimRight(dir, "/"), entry.Name)) + dirsToProcess = append(dirsToProcess, string(util.NewFullPath(dir, entry.Name))) return nil } if entry.Attributes == nil { |
