From 59ded34b830c693c985f1570a5cc16d37e39d2e5 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 16 Oct 2013 08:39:09 -0700 Subject: [PATCH] issue 48 weed upload does not set the modified date --- go/storage/needle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)