Skip to content

Commit

Permalink
delete std log when http_agent put err (#198)
Browse files Browse the repository at this point in the history
Co-authored-by: liuguoyang1 <[email protected]>
  • Loading branch information
legenove and liuguoyang1 authored Mar 25, 2021
1 parent d75caca commit a63411b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/http_agent/put.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package http_agent

import (
"log"
"net/http"
"strings"
"time"
Expand All @@ -43,7 +42,6 @@ func put(path string, header http.Header, timeoutMs uint64, params map[string]st
request.Header = header
resp, errDo := client.Do(request)
if errDo != nil {
log.Println(errDo)
err = errDo
} else {
response = resp
Expand Down

0 comments on commit a63411b

Please sign in to comment.