aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_list_test.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-08-08 18:55:53 -0700
committerGitHub <noreply@github.com>2021-08-08 18:55:53 -0700
commit52fcce81c64348dccf706e52161cf3fcf71e1df8 (patch)
treeeff9e3a111e227de7803c4ab5bd03ea79897bb57 /weed/shell/command_volume_list_test.go
parent4370a4db634f2268526911842a804d9dee97aadc (diff)
parent882a93dacd2ca8549af50b80a8a98a861fdee0ed (diff)
downloadseaweedfs-52fcce81c64348dccf706e52161cf3fcf71e1df8.tar.xz
seaweedfs-52fcce81c64348dccf706e52161cf3fcf71e1df8.zip
Merge pull request #2241 from chrislusf/add_remote_storage
WIP: remote storage
Diffstat (limited to 'weed/shell/command_volume_list_test.go')
-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 {