Fix status message formatting in check_logs function
This commit is contained in:
parent
7ce0926d91
commit
e7f4bb6a35
@ -205,7 +205,7 @@ def check_logs(logger, initial_sync_count, previous_status):
|
||||
formatted_id = format_number(last_checking_info["last_sub_id"])
|
||||
if last_checking_info["num_subs_to_sync"] > 0:
|
||||
current_status_type = "Sync"
|
||||
status_message = f"Sync: {formatted_id})" # Use current_sync_count
|
||||
status_message = f"Sync: {formatted_id}" # Use current_sync_count
|
||||
logger.info(f"Node is syncing. Last sub ID: {last_checking_info['last_sub_id']}, Num subs to sync: {last_checking_info['num_subs_to_sync']}")
|
||||
else:
|
||||
current_status_type = "OK"
|
||||
|
Loading…
Reference in New Issue
Block a user