Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] [config/confighttp] Remove loop memory aliasing in a test #8269

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

dmitryax
Copy link
Member

To resolve a linter complain after bumping github.com/golangci/golangci-lint: https://github.com/open-telemetry/opentelemetry-collector/actions/runs/5947424448/job/16129479734?pr=8268

Error: confighttp_test.go:711:15: G601: Implicit memory aliasing in for loop. (gosec)
				CORS:     &tt.CORSSettings,

@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.04% ⚠️

Comparison is base (3dad181) 90.18% compared to head (b280788) 90.14%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8269      +/-   ##
==========================================
- Coverage   90.18%   90.14%   -0.04%     
==========================================
  Files         302      302              
  Lines       15766    15766              
==========================================
- Hits        14218    14212       -6     
- Misses       1254     1259       +5     
- Partials      294      295       +1     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

To resolve a linter complain after bumping github.com/golangci/golangci-lint: https://github.com/open-telemetry/opentelemetry-collector/actions/runs/5947424448/job/16129479734?pr=8268

```
Error: confighttp_test.go:711:15: G601: Implicit memory aliasing in for loop. (gosec)
				CORS:     &tt.CORSSettings,
```
@codeboten codeboten merged commit 2c2a27a into open-telemetry:main Aug 23, 2023
30 checks passed
@codeboten codeboten added this to the next release milestone Aug 24, 2023
@dmitryax dmitryax deleted the fix-lint-G601 branch August 25, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants