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/volume/v1/snapshot.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/volume/v1/snapshot.py')
| -rw-r--r-- | openstackclient/volume/v1/snapshot.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openstackclient/volume/v1/snapshot.py b/openstackclient/volume/v1/snapshot.py index a4cf86bf..6055a4d8 100644 --- a/openstackclient/volume/v1/snapshot.py +++ b/openstackclient/volume/v1/snapshot.py @@ -28,7 +28,6 @@ from openstackclient.common import utils class CreateSnapshot(show.ShowOne): """Create snapshot command""" - api = 'volume' log = logging.getLogger(__name__ + '.CreateSnapshot') def get_parser(self, prog_name): @@ -76,7 +75,6 @@ class CreateSnapshot(show.ShowOne): class DeleteSnapshot(command.Command): """Delete snapshot command""" - api = 'volume' log = logging.getLogger(__name__ + '.DeleteSnapshot') def get_parser(self, prog_name): @@ -100,7 +98,6 @@ class DeleteSnapshot(command.Command): class ListSnapshot(lister.Lister): """List snapshot command""" - api = 'volume' log = logging.getLogger(__name__ + '.ListSnapshot') def take_action(self, parsed_args): @@ -123,7 +120,6 @@ class ListSnapshot(lister.Lister): class SetSnapshot(command.Command): """Set snapshot command""" - api = 'volume' log = logging.getLogger(__name__ + '.SetSnapshot') def get_parser(self, prog_name): @@ -163,7 +159,6 @@ class SetSnapshot(command.Command): class ShowSnapshot(show.ShowOne): """Show snapshot command""" - api = 'volume' log = logging.getLogger(__name__ + '.ShowSnapshot') def get_parser(self, prog_name): |
