Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Dec 19, 2024
1 parent e83c718 commit c73b176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/otaclient/grpc/api_v2/ecu_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async def _generate_overall_status_report(self):
and status.ecu_id not in lost_ecus
}
# NOTE: all_success doesn't count the lost ECUs
if len(self.success_ecus_id) == len(self._available_ecu_ids):
if self.success_ecus_id == set(self._available_ecu_ids):
ecu_status_flags.all_success.set()
else:
ecu_status_flags.all_success.clear()
Expand Down

0 comments on commit c73b176

Please sign in to comment.