[Bug Fix] Fix Excessive IMDS related error logging #2204
Annotations
5 errors and 1 warning
Check license and imports:
extension/entitystore/extension_test.go#L32
field `started` is unused (unused)
|
Check license and imports:
extension/entitystore/extension_test.go#L632
field `metadataProvider` is unused (unused)
|
Check license and imports:
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 license and imports:
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 license and imports
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