mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update ci-slack-bot.py
This commit is contained in:
parent
a73f621bf4
commit
c0aa3e4567
@ -245,7 +245,7 @@ def get_too_many_failures_message(failures_count):
|
||||
|
||||
|
||||
def get_failed_checks_percentage_message(percentage):
|
||||
p = percentage[0][0] * 100
|
||||
p = float(percentage[0][0]) * 100
|
||||
|
||||
# Always report more than 1% of failed checks
|
||||
# For <= 1%: higher percentage of failures == higher probability
|
||||
|
Loading…
Reference in New Issue
Block a user