Move to mirrorred images for Drone and Dockerfile, linting fixes.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -30,6 +30,7 @@ func execRequest(method string, url string, data interface{}) ([]byte, error) {
|
||||
|
||||
var dataToSend []byte
|
||||
if data != nil {
|
||||
// nolint:errchkjson
|
||||
dataToSend, _ = json.Marshal(data)
|
||||
}
|
||||
|
||||
|
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
// nolint:exhaustivestruct
|
||||
func getHTTPClient() *http.Client {
|
||||
// nolint:exhaustruct
|
||||
client := &http.Client{
|
||||
Transport: &http.Transport{
|
||||
ExpectContinueTimeout: time.Second * 5,
|
||||
|
Reference in New Issue
Block a user