1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-06 09:07:08 +02:00

add missing modify and create times

This commit is contained in:
Chris Lu 2018-05-31 22:50:19 -07:00
parent 7efeb146c5
commit a6f7f9b0b8

View file

@ -158,7 +158,9 @@ func (fs *FilerServer) doAutoChunk(w http.ResponseWriter, r *http.Request, conte
entry := &filer2.Entry{
FullPath: filer2.FullPath(path),
Attr: filer2.Attr{
Mode: 0660,
Mtime: time.Now(),
Crtime: time.Now(),
Mode: 0660,
},
Chunks: fileChunks,
}