Browse Source

go fmt

pull/1943/head
Chris Lu 4 years ago
parent
commit
e9b1853d63
  1. 2
      weed/shell/command_volume_balance_test.go
  2. 2
      weed/shell/command_volume_list_test.go

2
weed/shell/command_volume_balance_test.go

@ -180,4 +180,4 @@ func TestBalance(t *testing.T) {
t.Errorf("balance: %v", err)
}
}
}

2
weed/shell/command_volume_list_test.go

@ -67,7 +67,7 @@ func parseOutput(output string) *master_pb.TopologyInfo {
maxVolumeCountStr := parts[1][strings.Index(parts[1], "/")+1:]
maxVolumeCount, _ := strconv.Atoi(maxVolumeCountStr)
disk = &master_pb.DiskInfo{
Type: diskType,
Type: diskType,
MaxVolumeCount: uint64(maxVolumeCount),
}
dn.DiskInfos[types.ToDiskType(diskType).String()] = disk

Loading…
Cancel
Save