mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-24 09:03:35 +08:00
issue 48 weed upload does not set the modified date
This commit is contained in:
@@ -111,8 +111,8 @@ func NewNeedle(r *http.Request) (n *Needle, e error) {
|
||||
}
|
||||
if n.LastModified == 0 {
|
||||
n.LastModified = uint64(time.Now().Unix())
|
||||
n.SetHasLastModifiedDate()
|
||||
}
|
||||
n.SetHasLastModifiedDate()
|
||||
|
||||
n.Checksum = NewCRC(n.Data)
|
||||
|
||||
|
Reference in New Issue
Block a user