Skip to content

Various charm fixes. #993

Various charm fixes.

Various charm fixes. #993

Triggered via pull request October 4, 2023 10:01
Status Success
Total duration 13m 34s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: internal/debug/login.go#L176
Error return value of `r.ParseForm` is not checked (errcheck)
lint: internal/debug/debug.go#L19
var `logger` is unused (unused)
lint: internal/debug/debug.go#L36
S1011: should replace loop with `handlers = append(handlers, identity.ReqServer.Handlers(h.handler)...)` (gosimple)
lint: idp/keystone/discharge_test.go#L115
type `tokenLoginRequest` is unused (unused)
lint: idp/keystone/common_test.go#L43
SA1019: c.Defer is deprecated: in Go >= 1.14 use testing.TB.Cleanup instead. (staticcheck)
lint: idp/keystone/discharge_test.go#L41
SA1019: c.Defer is deprecated: in Go >= 1.14 use testing.TB.Cleanup instead. (staticcheck)
lint: idp/ldap/ldap_test.go#L160
Error return value of `i.Init` is not checked (errcheck)
lint: idp/ldap/ldap_test.go#L252
Error return value of `i.Init` is not checked (errcheck)
lint: idp/ldap/mockldap_test.go#L174
S1030: should use packet.Children[1].Data.String() instead of string(packet.Children[1].Data.Bytes()) (gosimple)
lint: idp/ldap/discharge_test.go#L21
SA1019: c.Done is deprecated: in Go >= 1.14 this is no longer needed if using testing.TB.Cleanup. (staticcheck)