summaryrefslogtreecommitdiff
path: root/heatclient/osc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-12-13 09:30:07 +0000
committerGerrit Code Review <review@openstack.org>2016-12-13 09:30:07 +0000
commitd45f484641231527f3af8619be5a1fbf1ed1591b (patch)
tree96eb03e4f158a770aa7aa75693b0d8f8c2b58613 /heatclient/osc
parent3d60183120ca709e4298fa516bc1c7b639db770b (diff)
parentb24df1f39b2d099e1bb8ba9788d53d62ba0e93cb (diff)
downloadpython-heatclient-d45f484641231527f3af8619be5a1fbf1ed1591b.tar.gz
Merge "Update headers for the Openstack Orchestration commands"
Diffstat (limited to 'heatclient/osc')
-rw-r--r--heatclient/osc/v1/service.py4
-rw-r--r--heatclient/osc/v1/template.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/heatclient/osc/v1/service.py b/heatclient/osc/v1/service.py
index b6a148a..09dec4d 100644
--- a/heatclient/osc/v1/service.py
+++ b/heatclient/osc/v1/service.py
@@ -32,8 +32,8 @@ class ListService(command.Lister):
self.log.debug("take_action(%s)", parsed_args)
heat_client = self.app.client_manager.orchestration
- columns = ['hostname', 'binary', 'engine_id', 'host',
- 'topic', 'updated_at', 'status']
+ columns = ['Hostname', 'Binary', 'Engine ID', 'Host',
+ 'Topic', 'Updated At', 'Status']
services = heat_client.services.list()
return (
columns,
diff --git a/heatclient/osc/v1/template.py b/heatclient/osc/v1/template.py
index 20fc7d5..5aace44 100644
--- a/heatclient/osc/v1/template.py
+++ b/heatclient/osc/v1/template.py
@@ -37,7 +37,7 @@ class VersionList(command.Lister):
client = self.app.client_manager.orchestration
versions = client.template_versions.list()
- fields = ['version', 'type']
+ fields = ['Version', 'Type']
return (
fields,
@@ -79,7 +79,7 @@ class FunctionList(command.Lister):
msg = _('Template version not found: %s') % version
raise exc.CommandError(msg)
- fields = ['functions', 'description']
+ fields = ['Functions', 'Description']
return (
fields,
(utils.get_item_properties(s, fields) for s in functions)