style: go fmt for all
This commit is contained in:
@@ -46,8 +46,8 @@ type NodeImpl struct {
|
||||
maxVolumeCount int64
|
||||
parent Node
|
||||
sync.RWMutex // lock children
|
||||
children map[NodeId]Node
|
||||
maxVolumeId needle.VolumeId
|
||||
children map[NodeId]Node
|
||||
maxVolumeId needle.VolumeId
|
||||
|
||||
//for rack, data center, topology
|
||||
nodeType string
|
||||
|
||||
@@ -114,10 +114,10 @@ func TestHandlingVolumeServerHeartbeat(t *testing.T) {
|
||||
nil,
|
||||
dn)
|
||||
|
||||
for vid, _ := range layout.vid2location{
|
||||
for vid, _ := range layout.vid2location {
|
||||
println("after add volume id", vid)
|
||||
}
|
||||
for _, vid := range layout.writables{
|
||||
for _, vid := range layout.writables {
|
||||
println("after add writable volume id", vid)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user