diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-19 01:31:56 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-19 01:31:56 -0700 |
| commit | e9b1853d63f5a6a5fda7f4c64d44a5a9ed8ba0da (patch) | |
| tree | bc63c0c11e82f6c32c322ac39ae6176409ffa36d | |
| parent | b1a86cf8085d5f0aff27f7ff6e3b8a7d666f766b (diff) | |
| download | seaweedfs-e9b1853d63f5a6a5fda7f4c64d44a5a9ed8ba0da.tar.xz seaweedfs-e9b1853d63f5a6a5fda7f4c64d44a5a9ed8ba0da.zip | |
go fmt
| -rw-r--r-- | weed/shell/command_volume_balance_test.go | 2 | ||||
| -rw-r--r-- | weed/shell/command_volume_list_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_volume_balance_test.go b/weed/shell/command_volume_balance_test.go index a2c0b4bc7..b77811f51 100644 --- a/weed/shell/command_volume_balance_test.go +++ b/weed/shell/command_volume_balance_test.go @@ -180,4 +180,4 @@ func TestBalance(t *testing.T) { t.Errorf("balance: %v", err) } -}
\ No newline at end of file +} diff --git a/weed/shell/command_volume_list_test.go b/weed/shell/command_volume_list_test.go index b09622fc2..72c76f242 100644 --- a/weed/shell/command_volume_list_test.go +++ b/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 |
