Fix 'type_name' in openstack cluster profile list

This is a supplement to https://review.openstack.org/369966

Change-Id: I6bbab32304953055342765e43cb76ba47a961e77
(cherry picked from commit 1944fd7c09)
This commit is contained in:
lvdongbing
2016-09-17 21:17:47 -04:00
committed by Qiming Teng
parent a57b042886
commit 0dbda738d6
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ class TestProfileShow(TestProfile):
class TestProfileList(TestProfile):
columns = ['id', 'name', 'type_name', 'created_at']
columns = ['id', 'name', 'type', 'created_at']
data = {"profiles": [
{
"created_at": "2016-02-17T13:01:05",

View File

@@ -129,7 +129,7 @@ class ListProfile(command.Lister):
senlin_client = self.app.client_manager.clustering
columns = ['id', 'name', 'type_name', 'created_at']
columns = ['id', 'name', 'type', 'created_at']
queries = {
'limit': parsed_args.limit,
'marker': parsed_args.marker,