mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-12 23:09:33 +01:00
clean log
This commit is contained in:
1 parent
869a6711bc
commit
09ed882e5f
7 files changed
+40
-14
No files matched your search
@@ -2,7 +2,6 @@ package directory
|
||||
|
||||
import (
|
||||
"encoding/hex"
|
||||
"log"
|
||||
"pkg/storage"
|
||||
"strings"
|
||||
"pkg/util"
|
||||
@@ -20,7 +19,7 @@ func NewFileId(VolumeId storage.VolumeId, Key uint64, Hashcode uint32) *FileId {
|
||||
func ParseFileId(fid string) *FileId{
|
||||
a := strings.Split(fid, ",")
|
||||
if len(a) != 2 {
|
||||
log.Println("Invalid fid", fid, ", split length", len(a))
|
||||
println("Invalid fid", fid, ", split length", len(a))
|
||||
return nil
|
||||
}
|
||||
vid_string, key_hash_string := a[0], a[1]
|
||||
|
||||
Reference in new issue
Block a user