Skip to content

Commit f8ff881

Browse files
committed
Fix healthcheck service node statues in_creation
1 parent eade33c commit f8ff881

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎simplyblock_core/services/health_check_service.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def set_device_health_check(cluster_id, device, health_check_status):
4545

4646
def check_node(snode, logger):
4747

48+
snode = db.get_storage_node_by_id(snode.get_id())
4849
logger.info("Node: %s, status %s", snode.get_id(), snode.status)
4950

5051
if snode.status not in [StorageNode.STATUS_ONLINE, StorageNode.STATUS_UNREACHABLE,

0 commit comments

Comments
 (0)