Skip to content

Commit

Permalink
Merge pull request #170 from jaketerrito/patch-1
Browse files Browse the repository at this point in the history
Correct Error Message for Deprecated Gauge
  • Loading branch information
umairk79 authored May 22, 2024
2 parents 59c0471 + 1325b24 commit 7c587cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ default SampleListener distribution(String id, String... tagNameValuePairs) {
*/
@Deprecated
default void registerGauge(String id, Supplier<Number> supplier, String... tagNameValuePairs) {
throw new UnsupportedOperationException("registerDistribution is deprecated");
throw new UnsupportedOperationException("registerGauge is deprecated");
}

/**
Expand Down

0 comments on commit 7c587cf

Please sign in to comment.