summaryrefslogtreecommitdiff
path: root/openstackclient/image
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/image
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/image')
-rw-r--r--openstackclient/image/v1/image.py1
-rw-r--r--openstackclient/image/v2/image.py4
2 files changed, 0 insertions, 5 deletions
diff --git a/openstackclient/image/v1/image.py b/openstackclient/image/v1/image.py
index 43cae21c..5b4a939d 100644
--- a/openstackclient/image/v1/image.py
+++ b/openstackclient/image/v1/image.py
@@ -30,7 +30,6 @@ from cliff import show
class CreateImage(show.ShowOne):
"""Create image command"""
- api = "image"
log = logging.getLogger(__name__ + ".CreateImage")
def get_parser(self, prog_name):
diff --git a/openstackclient/image/v2/image.py b/openstackclient/image/v2/image.py
index 3b9b349d..61273aa2 100644
--- a/openstackclient/image/v2/image.py
+++ b/openstackclient/image/v2/image.py
@@ -28,7 +28,6 @@ from openstackclient.common import utils
class DeleteImage(command.Command):
"""Delete image command"""
- api = "image"
log = logging.getLogger(__name__ + ".DeleteImage")
def get_parser(self, prog_name):
@@ -49,7 +48,6 @@ class DeleteImage(command.Command):
class ListImage(lister.Lister):
"""List image command"""
- api = "image"
log = logging.getLogger(__name__ + ".ListImage")
def get_parser(self, prog_name):
@@ -78,7 +76,6 @@ class ListImage(lister.Lister):
class SaveImage(command.Command):
"""Save image command"""
- api = "image"
log = logging.getLogger(__name__ + ".SaveImage")
def get_parser(self, prog_name):
@@ -107,7 +104,6 @@ class SaveImage(command.Command):
class ShowImage(show.ShowOne):
"""Show image command"""
- api = "image"
log = logging.getLogger(__name__ + ".ShowImage")
def get_parser(self, prog_name):