Some fixes suggested by golangci-lint
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
)
|
||||
|
||||
func SetData(host, handlerID, path string, r io.Reader) error {
|
||||
|
||||
url := host + "/handlers/" + handlerID + path
|
||||
return http.Put(url, "", r, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user