Fixed DecommissionError bug
DecommissionError now can be raised without arguments (with default message). Change-Id: I4f8817b3cd6e58384438cb1a6444efbff0f1047b Closes-bug: #1355084
This commit is contained in:
parent
b434226c4f
commit
84b5465ea3
@ -27,7 +27,7 @@ class DecommissionError(e.SaharaException):
|
|||||||
code = "DECOMMISSION_ERROR"
|
code = "DECOMMISSION_ERROR"
|
||||||
message = "Failed to decommission cluster"
|
message = "Failed to decommission cluster"
|
||||||
|
|
||||||
def __init__(self, message):
|
def __init__(self, message=None):
|
||||||
if message:
|
if message:
|
||||||
self.message = message
|
self.message = message
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user