Fix last updated field name for resources

Craton resources have a property, `updated_at`. This commit corrects the
client to look for that property using the correct name. Without the
change the client is looking for `update_at` which causes the output for
that property to be blank.

Change-Id: If041f97594038e2e66ba3a664a514e5d2447bd18
This commit is contained in:
git-harry
2017-02-10 15:23:34 +00:00
parent 24de28869d
commit 78b6473ef7
5 changed files with 5 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ class TestDoHostList(base.TestShellCommandUsingPrintList):
'note',
'project_id',
'region_id',
'update_at',
'updated_at',
])
def test_with_limit(self):

View File

@@ -36,5 +36,5 @@ CELL_FIELDS = {
'name': 'Name',
'note': 'Note',
'created_at': 'Created At',
'update_at': 'Updated At'
'updated_at': 'Updated At'
}

View File

@@ -40,6 +40,6 @@ HOST_FIELDS = {
'active': 'Active',
'note': 'Note',
'created_at': 'Created At',
'update_at': 'Updated At',
'updated_at': 'Updated At',
'labels': 'Labels',
}

View File

@@ -33,5 +33,5 @@ PROJECT_FIELDS = {
'id': 'ID',
'name': 'Name',
'created_at': 'Created At',
'update_at': 'Updated At'
'updated_at': 'Updated At'
}

View File

@@ -35,5 +35,5 @@ REGION_FIELDS = {
'name': 'Name',
'note': 'Note',
'created_at': 'Created At',
'update_at': 'Updated At'
'updated_at': 'Updated At'
}