Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/core/registry.ex
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ defmodule TelemetryMetricsPrometheus.Core.Registry do
buckets
end

def validate_distribution_buckets!({first..last, step} = buckets) when is_integer(step) do
def validate_distribution_buckets!({first..last//_, step} = buckets) when is_integer(step) do
if first >= last do
raise ArgumentError, "expected buckets range to be ascending, got #{inspect(buckets)}"
end
Expand Down