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:
Adam Dangoor 2024-02-02 22:24:58 +00:00
parent bd164f928a
commit d20c1cf98e
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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.'
)