Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plugin model upgrade #2687

Merged
merged 1 commit into from Oct 16, 2020

Conversation

IamTheFij
Copy link
Contributor

When upgrading a plugin via the model interface, it would yield the
following error:

AttributeError: 'Plugin' object has no attribute '_reload'

It appears that the proper method is self.reload(). This is what is
used by all other methods in the class and base. I'm not finding any
references to _reload apart from this instance in the project either.

I've verified that this patch fixes the issue on my machine and all
tests pass.

Signed-off-by: Ian Fijolek ian@iamthefij.com

Fixes #2685

When upgrading a plugin via the model interface, it would yield the
following error:

    AttributeError: 'Plugin' object has no attribute '_reload'

It appears that the proper method is `self.reload()`. This is what is
used by all other methods in the class and base. I'm not finding any
references to `_reload` apart from this instance in the project either.

I've verified that this patch fixes the issue on my machine and all
tests pass.

Signed-off-by: Ian Fijolek <ian@iamthefij.com>
Copy link
Collaborator

@aiordache aiordache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@aiordache aiordache merged commit 2c6ef9b into docker:master Oct 16, 2020
@aiordache aiordache added this to the 4.4.0 milestone Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin model upgrade: object has no attribute '_reload'
2 participants