From 1c99da3af843dec42d526abcb6b470b7df20fcbb Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 14 Apr 2021 12:17:01 +0200 Subject: [PATCH] fix repair string --- setup-scripts/health-checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-scripts/health-checker.py b/setup-scripts/health-checker.py index 542aca4f..507a76fa 100755 --- a/setup-scripts/health-checker.py +++ b/setup-scripts/health-checker.py @@ -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].strip() ################################################################################ # create a message