aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/api')
-rw-r--r--swarm/api/http/server.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/swarm/api/http/server.go b/swarm/api/http/server.go
index 370aca5a7..b4294b058 100644
--- a/swarm/api/http/server.go
+++ b/swarm/api/http/server.go
@@ -409,7 +409,6 @@ func (s *Server) handleMultipartUpload(r *http.Request, boundary string, mw *api
Path: path,
ContentType: part.Header.Get("Content-Type"),
Size: size,
- ModTime: time.Now(),
}
log.Debug("adding path to new manifest", "ruid", ruid, "bytes", entry.Size, "path", entry.Path)
contentKey, err := mw.AddEntry(r.Context(), reader, entry)
@@ -428,7 +427,6 @@ func (s *Server) handleDirectUpload(r *http.Request, mw *api.ManifestWriter) err
ContentType: r.Header.Get("Content-Type"),
Mode: 0644,
Size: r.ContentLength,
- ModTime: time.Now(),
})
if err != nil {
return err