1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-25 20:09:30 +02:00
This commit is contained in:
Chris Lu 2021-02-10 23:41:05 -08:00
parent c959aaa19b
commit a0e84c4fbc
4 changed files with 3 additions and 4 deletions

View file

@ -3,8 +3,8 @@ package filesys
import (
"context"
"fmt"
"github.com/chrislusf/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/filer"
"github.com/chrislusf/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/wdclient"
"math"
"os"

View file

@ -25,7 +25,7 @@ type FilerSink struct {
replication string
collection string
ttlSec int32
diskType string
diskType string
dataCenter string
grpcDialOption grpc.DialOption
address string

View file

@ -223,7 +223,7 @@ func (s3a *S3ApiServer) DeleteMultipleObjectsHandler(w http.ResponseWriter, r *h
}
func doDeleteEmptyDirectories(client filer_pb.SeaweedFilerClient, directoriesWithDeletion map[string]int) (newDirectoriesWithDeletion map[string]int){
func doDeleteEmptyDirectories(client filer_pb.SeaweedFilerClient, directoriesWithDeletion map[string]int) (newDirectoriesWithDeletion map[string]int) {
var allDirs []string
for dir, _ := range directoriesWithDeletion {
allDirs = append(allDirs, dir)

View file

@ -70,7 +70,6 @@ func (t *BoundedTree) ensureVisited(n *Node, currentPath util.FullPath, componen
} else {
// fmt.Printf("ensure %v\n", currentPath)
children, err := visitFn(currentPath)
if err != nil {
glog.V(0).Infof("failed to visit %s: %v", currentPath, err)