summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v1/volume.py
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2013-07-11 22:40:24 -0500
committerSteve Martinelli <stevemar@ca.ibm.com>2013-07-12 11:07:33 -0500
commit1a0d5ccc68f65394292992b48afe20241e89e7b8 (patch)
treee28cadeb264d0b2701bc20ea5ef2d636ef991cec /openstackclient/volume/v1/volume.py
parentf0d3bf85d8102b9bdfe83852588f9bdc895f32c6 (diff)
downloadpython-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/volume.py')
-rw-r--r--openstackclient/volume/v1/volume.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/openstackclient/volume/v1/volume.py b/openstackclient/volume/v1/volume.py
index 43253c40..f1e421f4 100644
--- a/openstackclient/volume/v1/volume.py
+++ b/openstackclient/volume/v1/volume.py
@@ -28,7 +28,6 @@ from openstackclient.common import utils
class CreateVolume(show.ShowOne):
"""Create volume command"""
- api = 'volume'
log = logging.getLogger(__name__ + '.CreateVolume')
def get_parser(self, prog_name):
@@ -127,7 +126,6 @@ class CreateVolume(show.ShowOne):
class DeleteVolume(command.Command):
"""Delete volume command"""
- api = 'volume'
log = logging.getLogger(__name__ + '.DeleteVolume')
def get_parser(self, prog_name):
@@ -161,7 +159,6 @@ class DeleteVolume(command.Command):
class ListVolume(lister.Lister):
"""List volume command"""
- api = 'volume'
log = logging.getLogger(__name__ + '.ListVolume')
def get_parser(self, prog_name):
@@ -218,7 +215,6 @@ class ListVolume(lister.Lister):
class SetVolume(command.Command):
"""Set volume command"""
- api = 'volume'
log = logging.getLogger(__name__ + '.SetVolume')
def get_parser(self, prog_name):
@@ -274,7 +270,6 @@ class SetVolume(command.Command):
class ShowVolume(show.ShowOne):
"""Show volume command"""
- api = 'volume'
log = logging.getLogger(__name__ + '.ShowVolume')
def get_parser(self, prog_name):
@@ -297,7 +292,6 @@ class ShowVolume(show.ShowOne):
class UnsetVolume(command.Command):
"""Unset volume command"""
- api = 'volume'
log = logging.getLogger(__name__ + '.UnsetVolume')
def get_parser(self, prog_name):