diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-10-23 22:25:59 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-10-23 22:25:59 -0700 |
| commit | 253dd20bc6d5ae81c70d8953cdb76da4e2c2d1b2 (patch) | |
| tree | d490fe7395878825266700d5fc3aa9df6e97bf2e | |
| parent | f937933b3dff354a62316a84e484e1cfd8237c42 (diff) | |
| download | seaweedfs-253dd20bc6d5ae81c70d8953cdb76da4e2c2d1b2.tar.xz seaweedfs-253dd20bc6d5ae81c70d8953cdb76da4e2c2d1b2.zip | |
go fmt
| -rw-r--r-- | weed/filer2/tikv/tikv_store.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer2/tikv/tikv_store.go b/weed/filer2/tikv/tikv_store.go index a57bd1baf..8143130ab 100644 --- a/weed/filer2/tikv/tikv_store.go +++ b/weed/filer2/tikv/tikv_store.go @@ -20,7 +20,7 @@ func init() { } type TikvStore struct { - store kv.Storage + store kv.Storage } func (store *TikvStore) GetName() string { @@ -206,7 +206,7 @@ func getNameFromKey(key []byte) string { } // hash directory -func hashToBytes(dir string) ([]byte) { +func hashToBytes(dir string) []byte { h := md5.New() io.WriteString(h, dir) |
