diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | savannaclient/api/plugins.py | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,4 @@ +Alexander Ignatov <aignatov@mirantis.com> Alexander Kuznetsov <akuznetsov@mirantis.com> Jeremy Stanley <fungi@yuggoth.org> Nikita Konovalov <nkonovalov@mirantis.com> diff --git a/savannaclient/api/plugins.py b/savannaclient/api/plugins.py index 5f27f8d..eff327c 100644 --- a/savannaclient/api/plugins.py +++ b/savannaclient/api/plugins.py @@ -23,6 +23,12 @@ from savannaclient.api import base class Plugin(base.Resource): resource_name = 'Plugin' + def __init__(self, manager, info): + base.Resource.__init__(self, manager, info) + + # Horizon requires each object in table to have an id + self.id = self.name + class PluginManager(base.ResourceManager): resource_class = Plugin |