bringing up test percentage
This commit is contained in:
parent
20dc8ae5c4
commit
dff24cb032
3 changed files with 77 additions and 10 deletions
|
|
@ -342,6 +342,9 @@ class LambdaResponse(BaseResponse):
|
|||
fn = self.lambda_backend.get_function(function_name, qualifier)
|
||||
|
||||
if fn:
|
||||
if self.json_body.get('Publish', False):
|
||||
fn = self.lambda_backend.publish_function(function_name)
|
||||
|
||||
config = fn.update_function_code(self.json_body)
|
||||
return 200, {}, json.dumps(config)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue