As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit bbc531d9 authored by Ash McKenzie's avatar Ash McKenzie
Browse files

Apply 1 suggestion(s) to 1 file(s)


Co-authored-by: default avatarPatrick Bajao <ebajao@gitlab.com>
parent bd1842f2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -53,10 +53,6 @@ func (c *Client) Audit(ctx context.Context, username string, action commandargs.
if err != nil {
return err
}
defer func() {
if err := response.Body.Close(); err != nil {
_ = fmt.Errorf("unable to close response body: %v", err)
}
}()
defer response.Body.Close() //nolint:errcheck
return nil
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment