Add radix config files for each environment #56
Annotations
10 errors and 1 warning
Run Tests:
api/vulnerability/controller_test.go#L49
cannot use "anycluster" (constant of type string) as context.Context value in argument to router.NewServer: string does not implement context.Context (missing method Deadline)
|
Run Tests:
api/vulnerability/controller_test.go#L49
cannot use s.authProvider (variable of type *"github.com/equinor/radix-vulnerability-scanner-api/utils/auth/mock".MockAuthProvider) as string value in argument to router.NewServer
|
Run Tests:
api/vulnerability/controller_test.go#L49
cannot use sut (variable of type api.Controller) as auth.AuthProvider value in argument to router.NewServer: api.Controller does not implement auth.AuthProvider (missing method VerifyToken)
|
Run Tests:
api/vulnerability/controller_test.go#L69
cannot use "anycluster" (constant of type string) as context.Context value in argument to router.NewServer: string does not implement context.Context (missing method Deadline)
|
Run Tests:
api/vulnerability/controller_test.go#L69
cannot use s.authProvider (variable of type *"github.com/equinor/radix-vulnerability-scanner-api/utils/auth/mock".MockAuthProvider) as string value in argument to router.NewServer
|
Run Tests:
api/vulnerability/controller_test.go#L69
cannot use sut (variable of type api.Controller) as auth.AuthProvider value in argument to router.NewServer: api.Controller does not implement auth.AuthProvider (missing method VerifyToken)
|
Run Tests:
api/vulnerability/controller_test.go#L86
cannot use "anycluster" (constant of type string) as context.Context value in argument to router.NewServer: string does not implement context.Context (missing method Deadline)
|
Run Tests:
api/vulnerability/controller_test.go#L86
cannot use s.authProvider (variable of type *"github.com/equinor/radix-vulnerability-scanner-api/utils/auth/mock".MockAuthProvider) as string value in argument to router.NewServer
|
Run Tests:
api/vulnerability/controller_test.go#L86
cannot use sut (variable of type api.Controller) as auth.AuthProvider value in argument to router.NewServer: api.Controller does not implement auth.AuthProvider (missing method VerifyToken)
|
Run Tests:
api/vulnerability/controller_test.go#L104
cannot use "anycluster" (constant of type string) as context.Context value in argument to router.NewServer: string does not implement context.Context (missing method Deadline)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading