diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-09-07 14:21:10 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-09-07 14:21:10 -0700 |
| commit | d7a4b12d2a0f70c17b75dc41e0999d1cfcc2d6b4 (patch) | |
| tree | 36f60b74aeb8c4c7b3c78e060e798aff9a208c57 | |
| parent | 83ca595472123550cea813bd5eada3d015dedb93 (diff) | |
| download | seaweedfs-d7a4b12d2a0f70c17b75dc41e0999d1cfcc2d6b4.tar.xz seaweedfs-d7a4b12d2a0f70c17b75dc41e0999d1cfcc2d6b4.zip | |
fix build error0.96
| -rw-r--r-- | weed/server/volume_server_handlers_read.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/volume_server_handlers_read.go b/weed/server/volume_server_handlers_read.go index 66f8a048e..54f08971f 100644 --- a/weed/server/volume_server_handlers_read.go +++ b/weed/server/volume_server_handlers_read.go @@ -68,7 +68,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request) count, e := vs.store.ReadVolumeNeedle(volumeId, n) glog.V(4).Infoln("read bytes", count, "error", e) if e != nil || count < 0 { - glog.V(0).Infof("read %s error:", r.URL.Path, e) + glog.V(0).Infof("read %s error: %v", r.URL.Path, e) w.WriteHeader(http.StatusNotFound) return } |
