mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-06 12:55:34 +00:00
Fix invalid credentials msgpack
The invalid credentials did not accept an argument like the rest, fix the inconsistency for msgpack deserialization.
This commit is contained in:
@ -286,9 +286,9 @@ class ConfluentTargetNotFound(ConfluentNodeError):
|
||||
|
||||
class ConfluentTargetInvalidCredentials(ConfluentNodeError):
|
||||
apicode = 502
|
||||
def __init__(self, node):
|
||||
def __init__(self, node, errstr='bad credentials'):
|
||||
self.node = node
|
||||
self.error = 'bad credentials'
|
||||
self.error = errstr
|
||||
|
||||
def strip_node(self, node):
|
||||
raise exc.TargetEndpointBadCredentials
|
||||
|
Reference in New Issue
Block a user