diff options
author | Julien Danjou <julien@danjou.info> | 2014-06-24 16:32:14 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2014-06-24 16:46:58 +0200 |
commit | c3f3f0519a82b99c09c9478bed8413d75f45aa74 (patch) | |
tree | eed3435245cc8bfe8e10b27fd04db30f47b8405e /nova/api/openstack/compute | |
parent | 1943d1dc9b970aaa1cc6d12895bd2b9489523dd9 (diff) | |
download | nova-c3f3f0519a82b99c09c9478bed8413d75f45aa74.tar.gz |
api: remove useless get_actions() in consoles
This code is never called and refers to an non existent class.
Change-Id: Ia999d550315bf10dc7589f43e67e2fbf0d94501d
Diffstat (limited to 'nova/api/openstack/compute')
-rw-r--r-- | nova/api/openstack/compute/contrib/consoles.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/nova/api/openstack/compute/contrib/consoles.py b/nova/api/openstack/compute/contrib/consoles.py index c797e8b17b..2ea7ca24d2 100644 --- a/nova/api/openstack/compute/contrib/consoles.py +++ b/nova/api/openstack/compute/contrib/consoles.py @@ -103,16 +103,6 @@ class ConsolesController(wsgi.Controller): return {'console': {'type': console_type, 'url': output['url']}} - def get_actions(self): - """Return the actions the extension adds, as required by contract.""" - actions = [extensions.ActionExtension("servers", "os-getVNCConsole", - self.get_vnc_console), - extensions.ActionExtension("servers", "os-getSPICEConsole", - self.get_spice_console), - extensions.ActionExtension("servers", "os-getRDPConsole", - self.get_rdp_console)] - return actions - class Consoles(extensions.ExtensionDescriptor): """Interactive Console support.""" |