Browse Source

join path

pull/7426/head
chrislu 4 weeks ago
parent
commit
d8bef68752
  1. 2
      weed/s3api/filer_util.go

2
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 {

Loading…
Cancel
Save