Skip to content

At 521 enable authentication for opensearch #88

At 521 enable authentication for opensearch

At 521 enable authentication for opensearch #88

Triggered via pull request May 30, 2024 14:29
Status Failure
Total duration 38s
Artifacts

linting.yml

on: pull_request

Annotations

5 errors
lint: client/keycloakJWTClient.go#L56
error returned from interface method should be wrapped: sig: func (github.com/greenbone/keycloak-client-golang/client.ITokenReceiver).getToken() (*github.com/Nerzal/gocloak/v12.JWT, error) (wrapcheck)
lint: client/keycloakJWTClient.go#L97
error returned from external package is unwrapped: sig: func (*github.com/Nerzal/gocloak/v12.GoCloak).LoginClient(ctx context.Context, clientID string, clientSecret string, realm string) (*github.com/Nerzal/gocloak/v12.JWT, error) (wrapcheck)
lint: client/keycloakRepository.go#L25
error returned from external package is unwrapped: sig: func (*github.com/Nerzal/gocloak/v12.GoCloak).LoginClient(ctx context.Context, clientID string, clientSecret string, realm string) (*github.com/Nerzal/gocloak/v12.JWT, error) (wrapcheck)
lint: client/keycloakJWTClient_test.go#L22
error returned from external package is unwrapped: sig: func (github.com/stretchr/testify/mock.Arguments).Error(index int) error (wrapcheck)
lint
issues found