Plugin resource name fixed for REST API calls.
Change-Id: Ib23b7e1f081fbc30cdaee7167e0f718590075a92 Fixes: bug #1189627
This commit is contained in:
parent
35e7c47f27
commit
02833c02a6
@ -38,6 +38,8 @@ CONF.register_opts(opts)
|
||||
class PluginInterface(resources.BaseResource):
|
||||
__metaclass__ = abc.ABCMeta
|
||||
|
||||
__resource_name__ = 'plugin'
|
||||
|
||||
name = 'plugin_interface'
|
||||
|
||||
def get_plugin_opts(self):
|
||||
|
@ -53,6 +53,7 @@ class BaseResource(object):
|
||||
class Resource(BaseResource):
|
||||
def __init__(self, _name, _info):
|
||||
self._name = _name
|
||||
self.__resource_name__ = _name
|
||||
self._info = _info
|
||||
|
||||
def __getattr__(self, k):
|
||||
|
Loading…
Reference in New Issue
Block a user