Use the TemplateBody by default it exist

serverless cli use the PUT + TemplateBody + TemplateURL to upload cloudformation template

This fix try to get the TemplateBody from the request first, if not exist, fetch the one from s3 bucket
This commit is contained in:
Clive Li 2018-02-13 17:28:56 +11:00
commit 6e6ed28d79
2 changed files with 3 additions and 3 deletions

View file

@ -49,3 +49,4 @@ Moto is written by Steve Pulec with contributions from:
* [Michael van Tellingen](https://github.com/mvantellingen)
* [Jessie Nadler](https://github.com/nadlerjessie)
* [Alex Morken](https://github.com/alexmorken)
* [Clive Li](https://github.com/cliveli)