You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've already got a fix for this that I'm about to submit. For reference, here are the steps to reproduce in ipython:
~$ ipython [venv]
Python 3.7.6 (default, Dec 22 2019, 01:09:06)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.18.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import docker
In [2]: c = docker.DockerClient(base_url='unix://var/run/docker.sock')
In [3]: p = c.plugins.get('loki')
In [4]: list(p.upgrade("grafana/loki-docker-driver:latest"))
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-e5fc26fa0514> in <module>
----> 1 list(p.upgrade("grafana/loki-docker-driver:latest"))
~/venv/lib/python3.7/site-packages/docker/models/plugins.py in upgrade(self, remote)
120 for d in self.client.api.upgrade_plugin(self.name, remote, privileges):
121 yield d
--> 122 self._reload()
123
124
AttributeError: 'Plugin' object has no attribute '_reload'
I've already got a fix for this that I'm about to submit. For reference, here are the steps to reproduce in ipython:
The text was updated successfully, but these errors were encountered: