Skip to content

Feature/implicit deregistration #172

Feature/implicit deregistration

Feature/implicit deregistration #172

Triggered via pull request August 17, 2023 10:18
Status Failure
Total duration 1m 7s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

12 errors
lint (1.18): internal/sbi/httpcallback/api_handle_dereg_notification.go#L101
response body must be closed (bodyclose)
lint (1.17): internal/sbi/httpcallback/api_handle_dereg_notification.go#L101
response body must be closed (bodyclose)
lint (1.18): internal/sbi/httpcallback/api_handle_dereg_notification.go#L7
Expected '"', Found 'a' at internal/sbi/httpcallback/api_handle_dereg_notification.go[line 7,col 2] (gci)
lint (1.17): internal/sbi/httpcallback/api_handle_dereg_notification.go#L7
Expected '"', Found 'a' at internal/sbi/httpcallback/api_handle_dereg_notification.go[line 7,col 2] (gci)
lint (1.18): internal/sbi/httpcallback/api_handle_dereg_notification.go#L141
S1023: redundant `return` statement (gosimple)
lint (1.17): internal/sbi/httpcallback/api_handle_dereg_notification.go#L141
S1023: redundant `return` statement (gosimple)
lint (1.18): internal/sbi/httpcallback/api_handle_dereg_notification.go#L69
shadow: declaration of "err" shadows declaration at line 22 (govet)
lint (1.17): internal/sbi/httpcallback/api_handle_dereg_notification.go#L69
shadow: declaration of "err" shadows declaration at line 22 (govet)
lint (1.18): internal/sbi/httpcallback/api_handle_dereg_notification.go#L129
SA4006: this value of `err` is never used (staticcheck)
lint (1.17): internal/sbi/httpcallback/api_handle_dereg_notification.go#L129
SA4006: this value of `err` is never used (staticcheck)
lint (1.18)
issues found
lint (1.17)
issues found