aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-08 17:56:26 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-08 17:56:26 -0700
commit882a93dacd2ca8549af50b80a8a98a861fdee0ed (patch)
treeeff9e3a111e227de7803c4ab5bd03ea79897bb57
parent7412ccdf88d5096e0d0d9475a77322188f9c8a5d (diff)
downloadseaweedfs-origin/add_remote_storage.tar.xz
seaweedfs-origin/add_remote_storage.zip
-rw-r--r--weed/shell/command_volume_list_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_list_test.go b/weed/shell/command_volume_list_test.go
index 72c76f242..379cf4943 100644
--- a/weed/shell/command_volume_list_test.go
+++ b/weed/shell/command_volume_list_test.go
@@ -68,7 +68,7 @@ func parseOutput(output string) *master_pb.TopologyInfo {
maxVolumeCount, _ := strconv.Atoi(maxVolumeCountStr)
disk = &master_pb.DiskInfo{
Type: diskType,
- MaxVolumeCount: uint64(maxVolumeCount),
+ MaxVolumeCount: int64(maxVolumeCount),
}
dn.DiskInfos[types.ToDiskType(diskType).String()] = disk
} else {