update github actions (#3538)

This commit is contained in:
fatedier
2023-07-21 10:30:46 +08:00
committed by GitHub
parent efcc028a3d
commit 46ff40543a
33 changed files with 72 additions and 108 deletions

View File

@@ -120,8 +120,5 @@ func (p *httpPlugin) do(ctx context.Context, r *Request, res *Response) error {
if err != nil {
return err
}
if err = json.Unmarshal(buf, res); err != nil {
return err
}
return nil
return json.Unmarshal(buf, res)
}