go fmt
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package storage
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"crypto/md5"
|
||||
"fmt"
|
||||
|
||||
"github.com/klauspost/crc32"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
"github.com/klauspost/crc32"
|
||||
)
|
||||
|
||||
var table = crc32.MakeTable(crc32.Castagnoli)
|
||||
|
||||
@@ -42,7 +42,7 @@ func (v *Volume) Destroy() (err error) {
|
||||
}
|
||||
v.Close()
|
||||
os.Remove(v.FileName() + ".dat")
|
||||
if v.nm!=nil{
|
||||
if v.nm != nil {
|
||||
err = v.nm.Destroy()
|
||||
}
|
||||
os.Remove(v.FileName() + ".cpd")
|
||||
|
||||
Reference in New Issue
Block a user