diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2013-07-11 22:40:24 -0500 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2013-07-12 11:07:33 -0500 |
| commit | 1a0d5ccc68f65394292992b48afe20241e89e7b8 (patch) | |
| tree | e28cadeb264d0b2701bc20ea5ef2d636ef991cec /openstackclient/compute/v2/agent.py | |
| parent | f0d3bf85d8102b9bdfe83852588f9bdc895f32c6 (diff) | |
| download | python-openstackclient-1a0d5ccc68f65394292992b48afe20241e89e7b8.tar.gz | |
Remove api = apiName calls from each method
As discussed in https://review.openstack.org/#/c/36352/ for each
command, we were setting api = identity or volume... etc,
this was for an old way of calling commands that are is no longer
used.
Also removed openstackclient/common/command.py
Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19
Diffstat (limited to 'openstackclient/compute/v2/agent.py')
| -rw-r--r-- | openstackclient/compute/v2/agent.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/openstackclient/compute/v2/agent.py b/openstackclient/compute/v2/agent.py index 46ab991b..aac69d8a 100644 --- a/openstackclient/compute/v2/agent.py +++ b/openstackclient/compute/v2/agent.py @@ -27,7 +27,6 @@ from openstackclient.common import utils class CreateAgent(show.ShowOne): """Create agent command""" - api = "compute" log = logging.getLogger(__name__ + ".CreateAgent") def get_parser(self, prog_name): @@ -77,7 +76,6 @@ class CreateAgent(show.ShowOne): class DeleteAgent(command.Command): """Delete agent command""" - api = "compute" log = logging.getLogger(__name__ + ".DeleteAgent") def get_parser(self, prog_name): @@ -98,7 +96,6 @@ class DeleteAgent(command.Command): class ListAgent(lister.Lister): """List agent command""" - api = "compute" log = logging.getLogger(__name__ + ".ListAgent") def get_parser(self, prog_name): @@ -131,7 +128,6 @@ class ListAgent(lister.Lister): class SetAgent(show.ShowOne): """Set agent command""" - api = "compute" log = logging.getLogger(__name__ + ".SetAgent") def get_parser(self, prog_name): |
