aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--go/storage/needle.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/storage/needle.go b/go/storage/needle.go
index 24b34c32e..71c8d3d98 100644
--- a/go/storage/needle.go
+++ b/go/storage/needle.go
@@ -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)