mirror of
https://gitee.com/sjqzhang/go-fastdfs.git
synced 2024-11-30 02:07:45 +08:00
bugfix repair_fileinfo
This commit is contained in:
parent
8070314f11
commit
3de7ce16a1
@ -925,7 +925,10 @@ func (this *Server) RepairFileInfoFromFile() {
|
||||
Path: strings.Replace(file_path, "\\", "/", -1),
|
||||
Md5: sum,
|
||||
TimeStamp: fi.ModTime().Unix(),
|
||||
Peers: []string{this.host},
|
||||
OffSet: -1,
|
||||
}
|
||||
log.Info(fileInfo)
|
||||
this.SaveFileMd5Log(&fileInfo, CONST_FILE_Md5_FILE_NAME)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user