New 'node-agent' that listens to pod events and loads eBPF programs #5
lint.yml
on: pull_request
golangci-lint
2m 7s
Check for Markdown errors
10s
Annotations
8 errors and 1 warning
golangci-lint
cannot use []func(interface{}){…} (value of type []func(interface{})) as []func(context.Context, interface{}) value in assignment
|
golangci-lint
w.decoder.Decode undefined (type *admission.Decoder is pointer to interface, not interface)
|
golangci-lint
type func(intentsa "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".ServiceIntents, intentsb "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".ServiceIntents) bool of func(intentsa, intentsb model.ServiceIntents) bool {…} does not match inferred type func(a "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".ServiceIntents, b "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".ServiceIntents) int for func(a E, b E) int
|
golangci-lint
type func(desta "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".OtterizeServiceIdentity, destb "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".OtterizeServiceIdentity) bool of func(desta, destb model.OtterizeServiceIdentity) bool {…} does not match inferred type func(a "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".OtterizeServiceIdentity, b "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".OtterizeServiceIdentity) int for func(a E, b E) int
|
golangci-lint
type func(intenta "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".Intent, intentb "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".Intent) bool of func(intenta, intentb model.Intent) bool {…} does not match inferred type func(a "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".Intent, b "github.com/otterize/network-mapper/src/mapper/pkg/graph/model".Intent) int for func(a E, b E) int
|
golangci-lint
type func(intentsa model.ServiceIntents, intentsb model.ServiceIntents) bool of (func(intentsa, intentsb model.ServiceIntents) bool literal) does not match inferred type func(a model.ServiceIntents, b model.ServiceIntents) int for func(a E, b E) int
|
golangci-lint
type func(a mapperclient.RecordedDestinationsForSrc, b mapperclient.RecordedDestinationsForSrc) bool of (func(a, b mapperclient.RecordedDestinationsForSrc) bool literal) does not match inferred type func(a mapperclient.RecordedDestinationsForSrc, b mapperclient.RecordedDestinationsForSrc) int for func(a E, b E) int
|
golangci-lint
Process completed with exit code 1.
|
golangci-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|