Skip to content

Commit

Permalink
fix drive count on mini-3.0-x+ (#13862)
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo authored Jun 7, 2024
1 parent 564cf12 commit f9d08d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -697,10 +697,8 @@ def front_slots(self):
if self.front_loaded:
if any((self.is_mini_3e, self.is_mini_3e_plus)):
return 6
elif self.is_mini_3_x:
elif any((self.is_mini_3_x, self.is_mini_3_x_plus)):
return 7
elif self.is_mini_3_x_plus:
return 8
elif self.is_mini_3_xl_plus:
return 10
elif any((self.is_xseries, self.is_r30, self.is_12_bay_jbod)):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def get_slot_info(enc):
'id': {
'3000000000000001': {
i: {SYSFS_SLOT_KEY: i - 1, MAPPED_SLOT_KEY: i, SUPPORTS_IDENTIFY_KEY: False}
for i in range(1, 9)
for i in range(1, 8)
}
}
}
Expand Down

0 comments on commit f9d08d2

Please sign in to comment.