Skip to content

Commit

Permalink
fix typo (#14596)
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Sep 30, 2024
1 parent b1aa74d commit e941271
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def should_report(self, ele_type: str, ele_value: dict[str]):
async def check(self):
good_enclosures, bad_elements = [], []
for enc in await self.middleware.call("enclosure2.query"):
good_enclosures.append([f"{enc['name']} (id: {enc['id']})")
good_enclosures.append([f"{enc['name']} (id: {enc['id']})"])
enc["elements"].pop("Array Device Slot") # dont care about disk slots
for element_type, element_values in enc["elements"].items():
for ele_value in element_values.values():
Expand Down

0 comments on commit e941271

Please sign in to comment.