Browse Source

go fmt

pull/1091/head
Chris Lu 5 years ago
parent
commit
253dd20bc6
  1. 4
      weed/filer2/tikv/tikv_store.go

4
weed/filer2/tikv/tikv_store.go

@ -20,7 +20,7 @@ func init() {
} }
type TikvStore struct { type TikvStore struct {
store kv.Storage
store kv.Storage
} }
func (store *TikvStore) GetName() string { func (store *TikvStore) GetName() string {
@ -206,7 +206,7 @@ func getNameFromKey(key []byte) string {
} }
// hash directory // hash directory
func hashToBytes(dir string) ([]byte) {
func hashToBytes(dir string) []byte {
h := md5.New() h := md5.New()
io.WriteString(h, dir) io.WriteString(h, dir)

Loading…
Cancel
Save