diff options
author | rexlee8776 <limingjiang@huawei.com> | 2018-05-09 09:52:27 +0000 |
---|---|---|
committer | rexlee8776 <limingjiang@huawei.com> | 2018-05-23 06:31:39 +0000 |
commit | 4bc3b756f0eefad98aeacf32865eda85a61fb157 (patch) | |
tree | 767554fd178df04a9408ff9c853312dd691f6143 /dashboard/opnfv_yardstick_tc075.json | |
parent | 4c31d1fd8732e2944fb488e08fc36f331e7a8938 (diff) |
Bugfix: openrc api dump should be safe_dump
1. fix safe_dump
2. fix pep8 problem, use flask_restapi custom error handling [1]
[1] https://flask-restful.readthedocs.io/en/latest/extending.html#custom-error-handlers
JIRA: YARDSTICK-1165
RestApi openrc dump clouds.yaml error
it now use yarml.dump, should be yaml.safe_dump.
dump would gererate !!python/unicode and cause error when upload openrc file in gui
Change-Id: Id3e85f7ba7d4967277ef79109b07d7552179e5db
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit f1a71b2889da3b49358b10b9a12ea5a512dd2743)
Diffstat (limited to 'dashboard/opnfv_yardstick_tc075.json')
0 files changed, 0 insertions, 0 deletions