Fix status message
This commit is contained in:
parent
79e7e1a89b
commit
ed2229b139
@ -210,7 +210,7 @@ def check_logs(logger, initial_sync_count, previous_status):
|
|||||||
if previous_status == "Sync":
|
if previous_status == "Sync":
|
||||||
current_sync_count += 1 # Increment local count
|
current_sync_count += 1 # Increment local count
|
||||||
logger.info(f"Sync completed. Sync count incremented to {current_sync_count}.")
|
logger.info(f"Sync completed. Sync count incremented to {current_sync_count}.")
|
||||||
status_message = f"OK: {formatted_id})" # Use current_sync_count
|
status_message = f"OK: {formatted_id}" # Use current_sync_count
|
||||||
logger.info(f"Node is OK. Last sub ID: {last_checking_info['last_sub_id']}")
|
logger.info(f"Node is OK. Last sub ID: {last_checking_info['last_sub_id']}")
|
||||||
|
|
||||||
elif last_ignored_id:
|
elif last_ignored_id:
|
||||||
|
Loading…
Reference in New Issue
Block a user