Browse Source

Merge "Fill the AcceleratorRequestBindingFailed exception msg info"

changes/31/824931/1
Zuul 4 months ago committed by Gerrit Code Review
parent
commit
24e02f1a9c
  1. 5
      nova/exception.py

5
nova/exception.py

@ -2362,8 +2362,9 @@ class AcceleratorRequestOpFailed(NovaException):
class AcceleratorRequestBindingFailed(NovaException):
msg_fmt = _("Failed to bind accelerator requests: %(msg)s")
def __init__(self, arqs, **kwargs):
super().__init__(message=self.msg_fmt, **kwargs)
def __init__(self, message=None, arqs=None, **kwargs):
super(AcceleratorRequestBindingFailed, self).__init__(
message=message, **kwargs)
self.arqs = arqs or []

Loading…
Cancel
Save