New 'node-agent' that listens to pod events and loads eBPF programs #90
lint.yml
on: pull_request
vet
2m 3s
golangci-lint
4m 53s
Check for Markdown errors
12s
Annotations
25 errors and 2 warnings
Check for Markdown errors:
src/ebpf/gotls/README.md#L1
First line in a file should be a top-level heading [Context: "## Overview"]
|
Check for Markdown errors:
src/ebpf/gotls/README.md#L9
Lists should be surrounded by blank lines [Context: "- `crypto/tls.(*Conn).Read`"]
|
Check for Markdown errors:
src/ebpf/gotls/README.md#L19
Trailing spaces [Expected: 0 or 2; Actual: 1]
|
Check for Markdown errors:
src/ebpf/gotls/README.md#L20
Trailing spaces [Expected: 0 or 2; Actual: 1]
|
Check for Markdown errors:
src/ebpf/gotls/README.md#L35
Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "### The g struct"]
|
Check for Markdown errors:
src/ebpf/gotls/README.md#L45
Lists should be surrounded by blank lines [Context: "- ARM64: https://go.googlesour..."]
|
Check for Markdown errors:
src/ebpf/gotls/README.md#L45
Bare URL used [Context: "https://go.googlesource.com/go..."]
|
Check for Markdown errors:
src/ebpf/gotls/README.md#L46
Bare URL used [Context: "https://go.googlesource.com/go..."]
|
Check for Markdown errors:
src/ebpf/gotls/README.md#L50
Trailing spaces [Expected: 0 or 2; Actual: 1]
|
vet
log.Fatalf does not support error-wrapping directive %w
|
vet
log.Fatalf does not support error-wrapping directive %w
|
vet
log.Fatalf does not support error-wrapping directive %w
|
vet
(*github.com/sirupsen/logrus.Entry).Debug call has possible Printf formatting directive %d
|
vet
undefined: service.ConnectToBpfmanOrDie
|
vet
Process completed with exit code 1.
|
golangci-lint:
src/node-agent/cmd/main.go#L1
: # github.com/otterize/network-mapper/src/node-agent/cmd
|
golangci-lint
undefined: service.ConnectToBpfmanOrDie
|
golangci-lint
cannot use containerManager (variable of type *container.ContainerManager) as *kubefinder.KubeFinder value in argument to service.RegisterReconcilersOrDie (typecheck)
|
golangci-lint:
src/node-agent/pkg/ebpf/tracer.go#L78
func `(*Tracer).removeTarget` is unused (unused)
|
golangci-lint:
src/node-agent/pkg/ebpf/types.go#L27
field `programName` is unused (unused)
|
golangci-lint:
src/bintools/process.go#L16
printf: log.Fatalf does not support error-wrapping directive %w (govet)
|
golangci-lint:
src/bintools/process.go#L28
printf: log.Fatalf does not support error-wrapping directive %w (govet)
|
golangci-lint:
src/ebpf/gotls/test/main.go#L39
printf: log.Fatalf does not support error-wrapping directive %w (govet)
|
golangci-lint:
src/node-agent/pkg/container/manager.go#L103
printf: (*github.com/sirupsen/logrus.Entry).Debug call has possible Printf formatting directive %d (govet)
|
golangci-lint:
src/node-agent/pkg/ebpf/gotls.go#L41
error is not nil (line 38) but it returns nil (nilerr)
|
vet
The following actions use a deprecated Node.js version 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/
|
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|