aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume_checking.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-05-27 11:52:26 -0700
committerChris Lu <chris.lu@gmail.com>2018-05-27 11:52:26 -0700
commit458ada173ed6df2933c35fe0d3e3dd9457d3a975 (patch)
tree30f174c167b3299eedde32419ad1894f43cd544d /weed/storage/volume_checking.go
parent8647191bee2027232105b20b5c110ffda225f9ba (diff)
downloadseaweedfs-458ada173ed6df2933c35fe0d3e3dd9457d3a975.tar.xz
seaweedfs-458ada173ed6df2933c35fe0d3e3dd9457d3a975.zip
go fmt
Diffstat (limited to 'weed/storage/volume_checking.go')
-rw-r--r--weed/storage/volume_checking.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_checking.go b/weed/storage/volume_checking.go
index 67538ebb2..5603a878b 100644
--- a/weed/storage/volume_checking.go
+++ b/weed/storage/volume_checking.go
@@ -12,7 +12,7 @@ func getActualSize(size uint32) int64 {
return NeedleHeaderSize + int64(size) + NeedleChecksumSize + int64(padding)
}
-func CheckVolumeDataIntegrity(v *Volume, indexFile *os.File) (error) {
+func CheckVolumeDataIntegrity(v *Volume, indexFile *os.File) error {
var indexSize int64
var e error
if indexSize, e = verifyIndexFileIntegrity(indexFile); e != nil {