Skip to content

force string in case of faulty deployment

Richomme requested to merge fix_push_to_db_when_failing into master

if not, the generated json includes a table with objects

'deployments': {'number': 181, 'number_failing': 1, 'failing': [onap-so-ve-vnfm-adapter]} onap-so-ve-vnfm-adapter is not defined it leads to the crash of the json.dump prior to the push to DB in xtesting

the code did not change so I am a bit puzzled, could it be the first time we got only 1 single deployment failing? should it be up to xtesting to consider any element as a string in this case? json formatter considered the format as correct even it added the quote

Signed-off-by: mrichomme morgan.richomme@orange.com

Merge request reports