Skip to content

[chore] move all target-allocator code to internal #9883

[chore] move all target-allocator code to internal

[chore] move all target-allocator code to internal #9883

Triggered via pull request January 20, 2025 00:45
Status Failure
Total duration 5m 8s
Artifacts

continuous-integration.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Unit tests: cmd/otel-allocator/internal/allocation/consistent_hashing.go#L23
no required module provides package github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/target; to add it:
Unit tests
Process completed with exit code 2.
Code standards (linting)
Process completed with exit code 2.
Security
undefined: assets.Store
Security
undefined: assets.Store
Security
undefined: assets.NewStore
Security
too many arguments in call to w.configGenerator.GenerateServerConfiguration
Security
endp.TLSConfig.SafeTLSConfig undefined (type *"github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1".SafeTLSConfig has no field or method SafeTLSConfig)
Security
cannot use &consistentHashingStrategy{} (value of type *consistentHashingStrategy) as Strategy value in variable declaration: *consistentHashingStrategy does not implement Strategy (wrong type for method GetCollectorForTarget)
Security
cannot use &perNodeStrategy{} (value of type *perNodeStrategy) as Strategy value in variable declaration: *perNodeStrategy does not implement Strategy (wrong type for method GetCollectorForTarget)
Security
cannot convert hashKey (variable of type []string) to type []byte
Security
cannot use chStrategy (variable of type *consistentHashingStrategy) as Strategy value in return statement: *consistentHashingStrategy does not implement Strategy (wrong type for method GetCollectorForTarget)
Security
item.GetNodeName undefined (type *"github.com/open-telemetry/opentelemetry-operator/cmd/otel-allocator/target".Item has no field or method GetNodeName)