mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-05 14:55:44 +00:00
chore(deps): cleanup go.mod a little bit (#136)
* Upgrade docker to v19.03.7 * go mod vendor * golangci-lint 1.23.8
This commit is contained in:
1 parent
f46768cf90
commit
ca648a37c8
463 files changed
+67593
-38404
No files matched your search
+1
-1
@@ -15,11 +15,11 @@ func (cli *Client) PluginInspectWithRaw(ctx context.Context, name string) (*type
|
||||
return nil, nil, objectNotFoundError{object: "plugin", id: name}
|
||||
}
|
||||
resp, err := cli.get(ctx, "/plugins/"+name+"/json", nil, nil)
|
||||
defer ensureReaderClosed(resp)
|
||||
if err != nil {
|
||||
return nil, nil, wrapResponseError(err, resp, "plugin", name)
|
||||
}
|
||||
|
||||
defer ensureReaderClosed(resp)
|
||||
body, err := ioutil.ReadAll(resp.body)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
|
||||
Reference in new issue
Block a user