-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove Min/Max unused interfaces from the moved code #2454
Conversation
Signed-off-by: Bogdan Drutu <[email protected]>
// Deprecated: Will be removed soon. | ||
type Min interface { | ||
Aggregation | ||
Min() (number.Number, error) | ||
} | ||
|
||
// Deprecated: use module "go.opentelemetry.io/otel/sdk/metric/export/aggregation" | ||
type Max = aggregation.Max | ||
// Deprecated: Will be removed soon. | ||
type Max interface { | ||
Aggregation | ||
Max() (number.Number, error) | ||
} |
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.
I kept them in the deprecated package, but removed them from the new package since they are not used. They will be removed with the whole deprecated package.
Codecov Report
@@ Coverage Diff @@
## main #2454 +/- ##
=====================================
Coverage 76.3% 76.3%
=====================================
Files 173 173
Lines 12022 12022
=====================================
+ Hits 9175 9177 +2
+ Misses 2602 2600 -2
Partials 245 245
|
@jmacd please review since this is a leftover after the PR you merged to remove MinMaxSumCount aggregation. |
Updates #2273
Signed-off-by: Bogdan Drutu [email protected]