[Bug Fix] Fix Excessive IMDS related error logging #2204
PR-build.yml
on: pull_request
Annotations
5 errors and 2 warnings
Check lint:
extension/entitystore/extension_test.go#L32
field `started` is unused (unused)
|
Check lint:
extension/entitystore/extension_test.go#L632
field `metadataProvider` is unused (unused)
|
Check lint:
extension/entitystore/ec2Info_test.go#L264
copylocks: range var tt copies lock: struct{name string; args github.com/aws/amazon-cloudwatch-agent/extension/entitystore.args; wantErr bool; want github.com/aws/amazon-cloudwatch-agent/extension/entitystore.EC2Info} contains github.com/aws/amazon-cloudwatch-agent/extension/entitystore.EC2Info contains sync.RWMutex (govet)
|
Check lint:
extension/entitystore/extension_test.go#L666
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Check lint
Process completed with exit code 2.
|
Check changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|