style: go fmt for all

This commit is contained in:
Wine93
2019-04-30 03:22:19 +00:00
parent 82e06a780b
commit 32f93fb09e
12 changed files with 19 additions and 23 deletions

View File

@@ -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

View File

@@ -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)
}