diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-08 17:56:26 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-08 17:56:26 -0700 |
| commit | 882a93dacd2ca8549af50b80a8a98a861fdee0ed (patch) | |
| tree | eff9e3a111e227de7803c4ab5bd03ea79897bb57 | |
| parent | 7412ccdf88d5096e0d0d9475a77322188f9c8a5d (diff) | |
| download | seaweedfs-882a93dacd2ca8549af50b80a8a98a861fdee0ed.tar.xz seaweedfs-882a93dacd2ca8549af50b80a8a98a861fdee0ed.zip | |
fix testsorigin/add_remote_storage
| -rw-r--r-- | weed/shell/command_volume_list_test.go | 2 |
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 { |
