diff options
| author | chrislu <chris.lu@gmail.com> | 2022-10-09 18:58:10 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-10-09 18:58:10 -0700 |
| commit | f9383aa726771b9bd9027cf5e9d62fcaecad9cee (patch) | |
| tree | 1bbba371016de151bb2348a250d9c0b0b096812a /weed/shell/command_ec_common.go | |
| parent | 0f522da367b85820aa0fb1e8b2efb769cecff7af (diff) | |
| download | seaweedfs-f9383aa726771b9bd9027cf5e9d62fcaecad9cee.tar.xz seaweedfs-f9383aa726771b9bd9027cf5e9d62fcaecad9cee.zip | |
refactor to change capacity data type
Diffstat (limited to 'weed/shell/command_ec_common.go')
| -rw-r--r-- | weed/shell/command_ec_common.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/weed/shell/command_ec_common.go b/weed/shell/command_ec_common.go index 325e504c4..5ca77785f 100644 --- a/weed/shell/command_ec_common.go +++ b/weed/shell/command_ec_common.go @@ -282,10 +282,6 @@ func mountEcShards(grpcDialOption grpc.DialOption, collection string, volumeId n }) } -func divide(total, n int) float64 { - return float64(total) / float64(n) -} - func ceilDivide(total, n int) int { return int(math.Ceil(float64(total) / float64(n))) } |
