mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
go fmt
This commit is contained in:
parent
f937933b3d
commit
253dd20bc6
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue