Merge pull request #256 from Solvik/fix/cle/hpe-controller

fix: enable disk inventory for HPE
This commit is contained in:
Cyril Levis 2022-12-09 14:22:07 +01:00 committed by GitHub
commit 282f914665
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,7 +232,7 @@ class Inventory():
raid_class = OmreportRaid
if is_tool('storcli'):
raid_class = StorcliRaid
elif self.server.manufacturer == 'HP':
elif self.server.manufacturer in ('HP', 'HPE'):
if is_tool('ssacli'):
raid_class = HPRaid