fix: Optimise performance #144
Annotations
18 warnings
go-fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
go-fmt
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/kubearmor-relay-server/kubearmor-relay-server. Supported file pattern: go.sum
|
go-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
go-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
go-lint:
relay-server/elasticsearch/adapter.go#L93
parameter 'ctx' seems to be unused, consider removing or renaming it as _
|
go-lint:
relay-server/main.go#L59
var esUrl should be esURL
|
go-lint:
relay-server/config/config.go#L9
exported type RelayConfig should have comment or be unexported
|
go-lint:
relay-server/common/common.go#L4
should have a package comment
|
go-lint:
relay-server/elasticsearch/adapter.go#L93
parameter 'item' seems to be unused, consider removing or renaming it as _
|
go-lint:
relay-server/log/logger.go#L4
should have a package comment
|
go-lint:
relay-server/config/config.go#L19
exported const ConfigGRPC should have comment (or a comment on this block) or be unexported
|
go-lint:
relay-server/config/config.go#L16
exported var GlobalConfig should have comment or be unexported
|
go-lint:
relay-server/elasticsearch/adapter.go#L96
parameter 'ctx' seems to be unused, consider removing or renaming it as _
|
go-lint:
relay-server/elasticsearch/adapter.go#L93
parameter 'res' seems to be unused, consider removing or renaming it as _
|
go-sec
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
go-sec
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/kubearmor-relay-server/kubearmor-relay-server. Supported file pattern: go.sum
|