aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/shell/command_volume_balance_test.go2
-rw-r--r--weed/shell/command_volume_list_test.go2
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