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

Refactor package internal/attribute to not use generics. #3725

Merged
merged 15 commits into from Feb 15, 2023

Conversation

Petrie
Copy link
Contributor

@Petrie Petrie commented Feb 14, 2023

Signed-off-by: Peter Liu lpfvip2008@gmail.com
resolve #3723

Signed-off-by: Peter Liu <lpfvip2008@gmail.com>
@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Merging #3725 (d219eaf) into main (0062bb6) will increase coverage by 0.0%.
The diff coverage is 85.4%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #3725   +/-   ##
=====================================
  Coverage   79.6%   79.6%           
=====================================
  Files        171     171           
  Lines      12661   12709   +48     
=====================================
+ Hits       10087   10126   +39     
- Misses      2361    2367    +6     
- Partials     213     216    +3     
Impacted Files Coverage Δ
internal/attribute/attribute.go 81.2% <83.3%> (ø)
attribute/value.go 91.2% <100.0%> (ø)

Copy link
Member

@dmathieu dmathieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! ❤️
I believe this will also need a changelog entry.

internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute_test.go Outdated Show resolved Hide resolved
Petrie and others added 10 commits February 14, 2023 18:14
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Signed-off-by: Peter Liu <lpfvip2008@gmail.com>
Signed-off-by: Peter Liu <lpfvip2008@gmail.com>
CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Peter Liu <lpfvip2008@gmail.com>
internal/attribute/attribute.go Outdated Show resolved Hide resolved
internal/attribute/attribute_test.go Outdated Show resolved Hide resolved
Petrie and others added 2 commits February 15, 2023 05:17
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Signed-off-by: Peter Liu <lpfvip2008@gmail.com>
@MrAlias MrAlias merged commit d68b05f into open-telemetry:main Feb 15, 2023
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.

The otel package implicitly requires Go >= 1.18
4 participants