fix compilation error

This commit is contained in:
Chris Lu 2018-07-24 01:09:32 -07:00
parent 9bf93e698e
commit 0b99557c29

View file

@ -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)