fix health-check

This commit is contained in:
Karol Wypchlo 2021-04-13 16:19:42 +02:00
parent cdf736437f
commit f48a8d9302
1 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ async def check_alerts():
for line in siac_renter_output.split("\n"):
# Check for the type of alert
if contains_string(line, repair_str):
repair_remaining = line.split()[1]:
repair_remaining = line.split()[1]
################################################################################
# create a message
@ -344,7 +344,7 @@ async def check_portal_size():
# Initialize variables
num_files = 0
max_files = 250000
max_files = 1500000 # 1.5 mln
files_text = "Files"
for line in siac_renter_output.split("\n"):
if contains_string(line, files_text):