From 300a53005141b7befb2f4cb7b5618121081cf912 Mon Sep 17 00:00:00 2001 From: "changlin.shi" Date: Wed, 23 Nov 2022 16:01:10 +0800 Subject: [PATCH] correct log Signed-off-by: changlin.shi --- weed/util/http_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/util/http_util.go b/weed/util/http_util.go index fdebd2cdf..384da6df8 100644 --- a/weed/util/http_util.go +++ b/weed/util/http_util.go @@ -416,7 +416,7 @@ func CloseResponse(resp *http.Response) { resp.Body.Close() if reader.BytesRead > 0 { if resp.Request != nil && resp.Request.URL != nil { - glog.V(1).Infof("response leftover %d bytes, url: %s", resp.Request.URL.RequestURI()) + glog.V(1).Infof("response leftover %d bytes, url: %s", reader.BytesRead, resp.Request.URL.RequestURI()) } else { glog.V(1).Infof("response leftover %d bytes", reader.BytesRead) }