Move to mirrorred images for Drone and Dockerfile, linting fixes.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-06-29 15:04:57 +05:00
parent 899c406f09
commit 9e5f98a413
13 changed files with 44 additions and 40 deletions

View File

@@ -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)
}

View File

@@ -8,6 +8,7 @@ import (
// nolint:exhaustivestruct
func getHTTPClient() *http.Client {
// nolint:exhaustruct
client := &http.Client{
Transport: &http.Transport{
ExpectContinueTimeout: time.Second * 5,