Browse Source

Merge "Fix versions api by using webob correctly" into stable/ussuri

changes/10/744410/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
a7a673127d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      murano/api/versions.py

+ 1
- 1
murano/api/versions.py View File

@@ -45,7 +45,7 @@ class Controller(object):
response = webob.Response(request=req,
status=http_client.MULTIPLE_CHOICES,
content_type='application/json')
response.body = jsonutils.dumps(dict(versions=version_objs))
response.text = jsonutils.dumps(dict(versions=version_objs))
return response

@webob.dec.wsgify(RequestClass=wsgi.Request)


Loading…
Cancel
Save