-
Notifications
You must be signed in to change notification settings - Fork 705
refactor(otelhttp): change Version() func to const Version string #8142
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
base: main
Are you sure you want to change the base?
Conversation
|
Apologies, I've updated the changelog.md. |
1f64ab7 to
0a266f5
Compare
CHANGELOG.md
Outdated
|
|
||
| ### Changed | ||
|
|
||
| - Change `Version()` function in `otelhttp` package to a `const Version` string. (#8134) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changelog entries need to be at the beginning of the file. Not its end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buddy, look at the content of the file. You can surely see your last commit is also wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the laughably silly mix-up , I’ve moved the content to the right place.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8142 +/- ##
=======================================
- Coverage 81.8% 81.8% -0.1%
=======================================
Files 194 193 -1
Lines 13362 13360 -2
=======================================
- Hits 10931 10929 -2
Misses 2033 2033
Partials 398 398
🚀 New features to boost your workflow:
|
Fixes #8134
Changes the Version() definition in the otelhttp package from a function to a constant string for simplicity and consistency.