This commit is contained in:
Till Faelligen 2024-08-03 21:49:41 +02:00
parent 84d57f1572
commit ed1f7cb2af
No known key found for this signature in database
GPG key ID: 3DF82D8AB9211D4E

View file

@ -83,7 +83,7 @@ func CreateSession(
if err != nil {
return "", err
}
defer resp.Body.Close()
defer resp.Body.Close() // nolint: errcheck
// Error if the status isn't OK
if resp.StatusCode != http.StatusOK {