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:
@@ -105,7 +105,7 @@ class TestDoHostList(base.TestShellCommandUsingPrintList):
|
||||
'note',
|
||||
'project_id',
|
||||
'region_id',
|
||||
'update_at',
|
||||
'updated_at',
|
||||
])
|
||||
|
||||
def test_with_limit(self):
|
||||
|
||||
@@ -36,5 +36,5 @@ CELL_FIELDS = {
|
||||
'name': 'Name',
|
||||
'note': 'Note',
|
||||
'created_at': 'Created At',
|
||||
'update_at': 'Updated At'
|
||||
'updated_at': 'Updated At'
|
||||
}
|
||||
|
||||
@@ -40,6 +40,6 @@ HOST_FIELDS = {
|
||||
'active': 'Active',
|
||||
'note': 'Note',
|
||||
'created_at': 'Created At',
|
||||
'update_at': 'Updated At',
|
||||
'updated_at': 'Updated At',
|
||||
'labels': 'Labels',
|
||||
}
|
||||
|
||||
@@ -33,5 +33,5 @@ PROJECT_FIELDS = {
|
||||
'id': 'ID',
|
||||
'name': 'Name',
|
||||
'created_at': 'Created At',
|
||||
'update_at': 'Updated At'
|
||||
'updated_at': 'Updated At'
|
||||
}
|
||||
|
||||
@@ -35,5 +35,5 @@ REGION_FIELDS = {
|
||||
'name': 'Name',
|
||||
'note': 'Note',
|
||||
'created_at': 'Created At',
|
||||
'update_at': 'Updated At'
|
||||
'updated_at': 'Updated At'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user