Rename customer label -> custom label (#10899)
Co-authored-by: Yingchun Lai <laiyingchun@apache.org> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Yingchun Lai
gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
parent
35ec2a45a8
commit
f68dd998b9
@@ -44,7 +44,7 @@ def generate_buckets(
|
||||
return two_sides_exponential_buckets(float(middle), float(base), int(count))
|
||||
if rule == "default":
|
||||
return sorted(set(default_buckets))
|
||||
assert rule == "customer"
|
||||
assert rule == "custom"
|
||||
return sorted(set([float(x) for x in buckets_rule[1:]]))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user