summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--savannaclient/api/plugins.py6
2 files changed, 7 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 32c8581..12a44f0 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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