diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-06-10 21:33:32 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-06-10 21:33:32 -0700 |
| commit | 57092d69ac1f72bd90f62811ac2542b054371fdc (patch) | |
| tree | afd473d47d2809987f8dbb16c2f6b9c7d2d7d0dd /weed/topology/node.go | |
| parent | f9d8bd51ad8cf4597559c3e3e327bbb3432719b7 (diff) | |
| download | seaweedfs-57092d69ac1f72bd90f62811ac2542b054371fdc.tar.xz seaweedfs-57092d69ac1f72bd90f62811ac2542b054371fdc.zip | |
go fmt
Diffstat (limited to 'weed/topology/node.go')
| -rw-r--r-- | weed/topology/node.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/topology/node.go b/weed/topology/node.go index 9aee0749e..b2808f589 100644 --- a/weed/topology/node.go +++ b/weed/topology/node.go @@ -49,9 +49,9 @@ type NodeImpl struct { maxVolumeCount int64 id NodeId parent Node - sync.RWMutex // lock children - children map[NodeId]Node - maxVolumeId needle.VolumeId + sync.RWMutex // lock children + children map[NodeId]Node + maxVolumeId needle.VolumeId //for rack, data center, topology nodeType string |
