At 521 enable authentication for opensearch #88
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
|