Skip to content

Commit

Permalink
Fixed issues in invalid JSON file
Browse files Browse the repository at this point in the history
Issues like, using single quotes for double quotes(string),
incorrect use of comma when only one field is present etc were
fixed. Linted to make sure the JSON is valid.

Change-Id: Ifbc611940f8a78b8c4432fc50711245caa2750b8
Closes-Bug: #1554051
  • Loading branch information
rahulunair committed Mar 7, 2016
1 parent b80d647 commit 3da649d
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions heatclient/tests/test_templates/adopt.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{
'files': {},
'status': 'COMPLETE',
'name': 'my_stack',
'tags': None,
'stack_user_project_id': '123456',
'environment': {},
'template': {
'heat_template_version': '2016-04-08',
'resources': {
'thing': {
'type': 'OS::Heat::TestResource'
"files": {},
"status": "COMPLETE",
"name": "my_stack",
"tags": null,
"stack_user_project_id": "123456",
"environment": {},
"template": {
"heat_template_version": "2016-04-08",
"resources": {
"thing": {
"type": "OS::Heat::TestResource"
}
}
},
'action': 'CREATE',
'project_id': '56789',
'id': '2468',
'resources': {
'thing': {
'status': 'COMPLETE',
'name': 'thing',
'resource_data': {
'value': 'test_string',
"action": "CREATE",
"project_id": "56789",
"id": "2468",
"resources": {
"thing": {
"status": "COMPLETE",
"name": "thing",
"resource_data": {
"value": "test_string"
},
'resource_id': 'my_stack-thing-1234',
'action': 'CREATE',
'type': 'OS::Heat::TestResource',
'metadata': {}
"resource_id": "my_stack-thing-1234",
"action": "CREATE",
"type": "OS::Heat::TestResource",
"metadata": {}
}
}
}

0 comments on commit 3da649d

Please sign in to comment.