Adding Middleware to containerinsightrecieve/resourcedetection #1028
Annotations
8 errors and 1 warning
Lint
cannot use (*mockMetadata)(nil) (value of type *mockMetadata) as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider value in variable declaration: *mockMetadata does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider (missing method GetHandlers)
|
Lint
cannot use &mockMetadata{…} (value of type *mockMetadata) as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider value in struct literal: *mockMetadata does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider (missing method GetHandlers)
|
Lint
cannot use &mockMetadata{…} (value of type *mockMetadata) as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider value in struct literal: *mockMetadata does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider (missing method GetHandlers)
|
Lint
cannot use &mockMetadata{…} (value of type *mockMetadata) as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider value in struct literal: *mockMetadata does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider (missing method GetHandlers)
|
Lint
cannot use &mockMetadata{…} (value of type *mockMetadata) as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider value in struct literal: *mockMetadata does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider (missing method GetHandlers)
|
Lint
cannot use &mockMetadata{…} (value of type *mockMetadata) as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider value in struct literal: *mockMetadata does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider (missing method GetHandlers)
|
Lint
cannot use &mockMetadata{…} (value of type *mockMetadata) as "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider value in struct literal: *mockMetadata does not implement "github.com/open-telemetry/opentelemetry-collector-contrib/internal/metadataproviders/aws/ec2".Provider (missing method GetHandlers) (typecheck)
|
Lint
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading