Skip to content

fix(deps): update github.com/kubearmor/kubearmor/kubearmor digest to 410ea7a #2852

fix(deps): update github.com/kubearmor/kubearmor/kubearmor digest to 410ea7a

fix(deps): update github.com/kubearmor/kubearmor/kubearmor digest to 410ea7a #2852

Triggered via pull request December 2, 2024 06:32
Status Failure
Total duration 3m 32s
Artifacts

ci-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
go-build
cannot use (*recordingSpan)(nil) (value of type *recordingSpan) as ReadWriteSpan value in variable declaration: *recordingSpan does not implement ReadWriteSpan (missing method AddLink)
go-build
cannot use nonRecordingSpan{} (value of type nonRecordingSpan) as "go.opentelemetry.io/otel/trace".Span value in variable declaration: nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method AddLink)
go-build
impossible type assertion: p.(*recordingSpan)
go-build
cannot use tr.newNonRecordingSpan(sc) (value of type nonRecordingSpan) as "go.opentelemetry.io/otel/trace".Span value in return statement: nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method AddLink)
go-build
cannot use tr.newRecordingSpan(psc, sc, name, samplingResult, config) (value of type *recordingSpan) as "go.opentelemetry.io/otel/trace".Span value in return statement: *recordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method AddLink)
go-build
Process completed with exit code 2.
unit-tests
cannot use (*recordingSpan)(nil) (value of type *recordingSpan) as ReadWriteSpan value in variable declaration: *recordingSpan does not implement ReadWriteSpan (missing method AddLink)
unit-tests
cannot use nonRecordingSpan{} (value of type nonRecordingSpan) as "go.opentelemetry.io/otel/trace".Span value in variable declaration: nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method AddLink)
unit-tests
impossible type assertion: p.(*recordingSpan)
unit-tests
cannot use tr.newNonRecordingSpan(sc) (value of type nonRecordingSpan) as "go.opentelemetry.io/otel/trace".Span value in return statement: nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method AddLink)
unit-tests
cannot use tr.newRecordingSpan(psc, sc, name, samplingResult, config) (value of type *recordingSpan) as "go.opentelemetry.io/otel/trace".Span value in return statement: *recordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method AddLink)
unit-tests
Process completed with exit code 2.
go-sec
Process completed with exit code 2.
go-lint: selfupdate/selfupdate.go#L110
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: log/log.go#L25
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
go-lint: log/log.go#L44
struct field TlsCertPath should be TLSCertPath
go-lint: probe/types.go#L43
don't use underscores in Go names; struct field Image_Version should be ImageVersion
go-lint: k8s/client.go#L38
comment on exported var KubeArmorCALabels should be of the form "KubeArmorCALabels ..."
go-lint: log/log.go#L45
struct field TlsCertProvider should be TLSCertProvider
go-lint: k8s/client.go#L91
exported function GetKubeArmorCaSecret should have comment or be unexported
go-lint: install/defaults.go#L10
exported var KubeArmorOperatorClusterRoleName should have comment or be unexported
go-lint: install/defaults.go#L11
exported var KubeArmorOperatorManageClusterRoleName should have comment or be unexported
go-lint: install/defaults.go#L12
exported var KubeArmorOperatorManageControllerClusterRoleName should have comment or be unexported