mirror of https://github.com/docker/docker-py.git
Change raise of exception which does not exist
This changes a use of ``DockerError`` (which does not exist) to ``DockerException``.
This commit is contained in:
parent
bd164f928a
commit
d20c1cf98e
|
@ -113,7 +113,7 @@ class Plugin(Model):
|
|||
A generator streaming the decoded API logs
|
||||
"""
|
||||
if self.enabled:
|
||||
raise errors.DockerError(
|
||||
raise errors.DockerException(
|
||||
'Plugin must be disabled before upgrading.'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue