Skip to content

Commit

Permalink
Mini-E+ enclosure fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfiberiru committed Jul 8, 2021
1 parent a76e1da commit de493c9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/middlewared/middlewared/plugins/enclosure_/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


MAPPINGS = [
ProductMapping(re.compile(r"(TRUE|FREE)NAS-MINI-3.0-E\+?$"), [
ProductMapping(re.compile(r"(TRUE|FREE)NAS-MINI-3.0-E$"), [
VersionMapping(re.compile(".*"), [
MappingSlot(0, 0, False),
MappingSlot(0, 1, False),
Expand All @@ -19,6 +19,16 @@
MappingSlot(0, 4, False),
]),
]),
ProductMapping(re.compile(r"(TRUE|FREE)NAS-MINI-3.0-E\+$"), [
VersionMapping(re.compile(".*"), [
MappingSlot(0, 0, False),
MappingSlot(0, 1, False),
MappingSlot(0, 2, False),
MappingSlot(0, 3, False),
MappingSlot(0, 0, False),
MappingSlot(0, 1, False),
]),
]),
ProductMapping(re.compile(r"(TRUE|FREE)NAS-MINI-3.0-X$"), [
VersionMapping(re.compile(r"1\.0"), [
MappingSlot(1, 0, False),
Expand Down

0 comments on commit de493c9

Please sign in to comment.