Skip to content

SMQ-2632 - Separate PAT logic in middleware #4108

SMQ-2632 - Separate PAT logic in middleware

SMQ-2632 - Separate PAT logic in middleware #4108

Triggered via pull request February 7, 2025 08:31
Status Failure
Total duration 2m 1s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint and Build: channels/middleware/pat.go#L19
cannot use (*patMiddleware)(nil) (value of type *patMiddleware) as channels.Service value in variable declaration: *patMiddleware does not implement channels.Service (missing method ListEntityMembers)
Lint and Build: channels/middleware/pat.go#L27
cannot use &patMiddleware{…} (value of type *patMiddleware) as channels.Service value in return statement: *patMiddleware does not implement channels.Service (missing method ListEntityMembers) (typecheck)
Lint and Build: clients/middleware/pat.go#L18
cannot use (*patMiddleware)(nil) (value of type *patMiddleware) as clients.Service value in variable declaration: *patMiddleware does not implement clients.Service (missing method ListEntityMembers)
Lint and Build: clients/middleware/pat.go#L26
cannot use &patMiddleware{…} (value of type *patMiddleware) as clients.Service value in return statement: *patMiddleware does not implement clients.Service (missing method ListEntityMembers) (typecheck)
Lint and Build: cmd/channels/main.go#L24
could not import github.com/absmach/supermq/channels/middleware (-: # github.com/absmach/supermq/channels/middleware
Lint and Build: channels/middleware/pat.go#L19
cannot use (*patMiddleware)(nil) (value of type *patMiddleware) as channels.Service value in variable declaration: *patMiddleware does not implement channels.Service (missing method ListEntityMembers)
Lint and Build: channels/middleware/pat.go#L27
cannot use &patMiddleware{…} (value of type *patMiddleware) as channels.Service value in return statement: *patMiddleware does not implement channels.Service (missing method ListEntityMembers)) (typecheck)
Lint and Build: cmd/clients/main.go#L26
could not import github.com/absmach/supermq/clients/middleware (-: # github.com/absmach/supermq/clients/middleware
Lint and Build: clients/middleware/pat.go#L18
cannot use (*patMiddleware)(nil) (value of type *patMiddleware) as clients.Service value in variable declaration: *patMiddleware does not implement clients.Service (missing method ListEntityMembers)
Lint and Build: clients/middleware/pat.go#L26
cannot use &patMiddleware{…} (value of type *patMiddleware) as clients.Service value in return statement: *patMiddleware does not implement clients.Service (missing method ListEntityMembers)) (typecheck)