mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-10 03:57:39 +08:00
chore: remove log
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"polaris/log"
|
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -174,8 +173,6 @@ func (c *Client) UploadStream(reader io.Reader, size int64, toDir string) (*Uplo
|
|||||||
req.Header.Add("As-Task", "true")
|
req.Header.Add("As-Task", "true")
|
||||||
req.Header.Add("Content-Type", "application/octet-stream")
|
req.Header.Add("Content-Type", "application/octet-stream")
|
||||||
req.ContentLength = size
|
req.ContentLength = size
|
||||||
|
|
||||||
log.Infof("headers: %+v, %v", req.Header, req.URL.String())
|
|
||||||
res, err := c.http.Do(req)
|
res, err := c.http.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user