feature\898:

This commit is contained in:
Brian Kanyora
2023-06-02 14:54:23 +01:00
parent f7638ddb0c
commit a1d7f9e57c
9 changed files with 133 additions and 3 deletions

View File

@@ -210,3 +210,10 @@ class ActiveNode(Node):
self.file_system_state_observed = self.file_system_state_actual
self.file_system_scanning = False
self.file_system_scanning_count = 0
def update_resetting_status(self):
super().update_resetting_status()
if self.resetting_count <= 0:
self.file_system_state_actual = FileSystemState.GOOD
self.software_state = SoftwareState.GOOD