Skip to content

[Bug Fix] Fix Excessive IMDS related error logging #2204

[Bug Fix] Fix Excessive IMDS related error logging

[Bug Fix] Fix Excessive IMDS related error logging #2204

Triggered via pull request December 4, 2024 16:14
@zhihonlzhihonl
synchronize #1440
imds-log-fix
Status Failure
Total duration 5m 24s
Artifacts

PR-build.yml

on: pull_request
Check changes
9s
Check changes
Test data race
0s
Test data race
Matrix: build
Fit to window
Zoom out
Zoom in

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