Hitachi HBSD: Fix invalid "raise None"

raise_error() already raises an exception, just
call it instead of raising its result.

Change-Id: I77eb5a6a1c62fbb3336b7b087e41e0b4f73a3f1d
This commit is contained in:
Eric Harney 2023-03-01 13:36:23 -05:00
parent 9f7cb571bb
commit 5d53d44765

View File

@ -714,7 +714,7 @@ class HBSDCommon():
MSG.INVALID_PARAMETER,
param=self.driver_info['param_prefix'] +
'_group_name_format')
raise self.raise_error(msg)
self.raise_error(msg)
self.format_info['group_name_format'] = (
self.conf.hitachi_group_name_format)
self.format_info['group_name_format_without_var_len'] = (