aboutsummaryrefslogtreecommitdiff
path: root/unmaintained/diff_volume_servers
diff options
context:
space:
mode:
authorbingoohuang <bingoo.huang@gmail.com>2021-02-07 12:11:51 +0800
committerbingoohuang <bingoo.huang@gmail.com>2021-02-07 12:11:51 +0800
commit7256902fb0c3ac637d40d8ee91508216b42a6d60 (patch)
tree2adda8b766fe5d36b6c3731402e32a24de230fa6 /unmaintained/diff_volume_servers
parent94ea3bd3a56dd16583c33a3baec17a952b58c6bb (diff)
downloadseaweedfs-7256902fb0c3ac637d40d8ee91508216b42a6d60.tar.xz
seaweedfs-7256902fb0c3ac637d40d8ee91508216b42a6d60.zip
fix typo offset.ToAcutalOffset to offset.ToActualOffset
Diffstat (limited to 'unmaintained/diff_volume_servers')
-rw-r--r--unmaintained/diff_volume_servers/diff_volume_servers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/unmaintained/diff_volume_servers/diff_volume_servers.go b/unmaintained/diff_volume_servers/diff_volume_servers.go
index 6107f3d48..27a537617 100644
--- a/unmaintained/diff_volume_servers/diff_volume_servers.go
+++ b/unmaintained/diff_volume_servers/diff_volume_servers.go
@@ -168,7 +168,7 @@ func getVolumeFiles(v uint32, addr string) (map[types.NeedleId]needleState, int6
size: size,
}
}
- if actual := offset.ToAcutalOffset(); actual > maxOffset {
+ if actual := offset.ToActualOffset(); actual > maxOffset {
maxOffset = actual
}
return nil