Browse Source

fix compilation error

pull/697/head
Chris Lu 7 years ago
parent
commit
0b99557c29
  1. 2
      weed/server/volume_server_handlers_read.go

2
weed/server/volume_server_handlers_read.go

@ -136,7 +136,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
}
}
rs := conditionallyResizeImages(rs,ext, r)
rs := conditionallyResizeImages(bytes.NewReader(n.Data), ext, r)
if e := writeResponseContent(filename, mtype, rs, w, r); e != nil {
glog.V(2).Infoln("response write error:", e)

Loading…
Cancel
Save