diff options
Diffstat (limited to 'weed/server/filer_grpc_server.go')
| -rw-r--r-- | weed/server/filer_grpc_server.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/server/filer_grpc_server.go b/weed/server/filer_grpc_server.go index 6a2a3d28f..34c5eb773 100644 --- a/weed/server/filer_grpc_server.go +++ b/weed/server/filer_grpc_server.go @@ -305,7 +305,9 @@ func (fs *FilerServer) DeleteEntry(ctx context.Context, req *filer_pb.DeleteEntr if req.DeleteEmptyParentDirectories { stopAtPath := util.FullPath(req.DeleteEmptyParentDirectoriesStopPath) if stopAtPath == "" { - stopAtPath = util.FullPath(fs.filer.DirBucketsPath) + // Default to root to allow cleanup for non-S3 paths + // S3 API clients provide a specific bucket stop path + stopAtPath = "/" } // Clean up empty parent directories starting from req.Directory |
