placement/doc/api_samples/os-aggregates/aggregates-metadata-post-resp.json
Pallavi cb38145acc Update time is not updated when metadata of aggregate is updated
For example, When aggregate zone is updated, time is not getting updated
in updated_at field.

So, modified the code such that time gets updated in updated_at field
whenever the aggregate metadata content gets modified.

Change-Id: Icb65313ba85562fadeddbc1890ca5d463e74d3c2
Closes-Bug: #1538014
2016-02-29 16:59:10 +05:30

17 lines
386 B
JSON

{
"aggregate": {
"availability_zone": "nova",
"created_at": "2013-08-18T12:17:55.959571",
"deleted": false,
"deleted_at": null,
"hosts": [],
"id": 1,
"metadata": {
"availability_zone": "nova",
"key": "value"
},
"name": "name",
"updated_at": "2013-08-18T12:17:55.986540"
}
}