File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,8 @@ def successful_response(**kwargs):
309309 @param kwargs: Parameters to render the template with.
310310 @return: Response.
311311 """
312- content = render_template (request_id = uuid (), ** kwargs )
312+ api_version = str (get ("Version" ))
313+ content = render_template (request_id = uuid (), api_version = api_version , ** kwargs )
313314 response = make_response (content )
314315 return _create_response (response , '200' )
315316
Original file line number Diff line number Diff line change @@ -148,5 +148,5 @@ def _describe_tags_response(response):
148148 return {
149149 'template_name_or_list' : 'tags.xml' ,
150150 'response_type' : 'DescribeTagsResponse' ,
151- 'response' : response
151+ 'response' : response [ 'listtagsresponse' ]
152152 }
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <{{response_type}}{% if not error %} xmlns="http://ec2.amazonaws.com/doc/2014-05-01 /"{%endif%}>
2+ <{{response_type}}{% if not error %} xmlns="http://ec2.amazonaws.com/doc/{{api_version}} /"{%endif%}>
33 {% block response_content %}{% endblock %}
44 {% if request_id %}
55 <RequestId >{{request_id}}</RequestId >
You can’t perform that action at this time.
0 commit comments