Skip to content

Commit

Permalink
[hpssm] handle new names and higher slot positions
Browse files Browse the repository at this point in the history
Signed-off-by: Trevor Benson <trevor.benson@gmail.com>
  • Loading branch information
TrevorBenson authored and TurboTurtle committed Aug 28, 2023
1 parent ad383f3 commit ca8fcd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sos/report/plugins/hpssm.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def setup(self):
["%s %s" % (cmd, subcmd) for subcmd in subcmds]
)

pattern = re.compile("^HP.*Smart Array (.*) in Slot ([0123456789])")
pattern = re.compile("^HP[E] (.*) in Slot ([0123456789]+)")
config_detail_cmd = cmd + ' ctrl all show config detail'
config_detail = self.collect_cmd_output(config_detail_cmd)
ctrl_slots = []
Expand Down

0 comments on commit ca8fcd7

Please sign in to comment.