aboutsummaryrefslogtreecommitdiff
path: root/weed/util/bounded_tree/bounded_tree.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-13 19:50:46 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-13 19:50:46 -0700
commit0542911e297fa41c8495ea4a6f855435892db400 (patch)
tree59d5813f84e306eca3429fda2d450389b6af12e7 /weed/util/bounded_tree/bounded_tree.go
parent58fa5064911b8a191c30c35cbdfb259a14249292 (diff)
downloadseaweedfs-0542911e297fa41c8495ea4a6f855435892db400.tar.xz
seaweedfs-0542911e297fa41c8495ea4a6f855435892db400.zip
go fmt
Diffstat (limited to 'weed/util/bounded_tree/bounded_tree.go')
-rw-r--r--weed/util/bounded_tree/bounded_tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/bounded_tree/bounded_tree.go b/weed/util/bounded_tree/bounded_tree.go
index 7d4dfb99a..0e8af2520 100644
--- a/weed/util/bounded_tree/bounded_tree.go
+++ b/weed/util/bounded_tree/bounded_tree.go
@@ -34,7 +34,7 @@ type VisitNodeFunc func(path util.FullPath) (childDirectories []string, err erro
// No action if the directory has been visited before or does not exist.
// A leaf node, which has no children, represents a directory not visited.
// A non-leaf node or a non-existing node represents a directory already visited, or does not need to visit.
-func (t *BoundedTree) EnsureVisited(p util.FullPath, visitFn VisitNodeFunc) (visitErr error){
+func (t *BoundedTree) EnsureVisited(p util.FullPath, visitFn VisitNodeFunc) (visitErr error) {
t.Lock()
defer t.Unlock()