Skip to content

Commit

Permalink
Merge pull request #243 from fujiwara/fill-default-before-deploy
Browse files Browse the repository at this point in the history
Fill default values to CreateFunctionInput before deploy.
  • Loading branch information
fujiwara authored Jun 10, 2022
2 parents 2c39adc + 4ff50bb commit 4f59103
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy.go
Original file line number Diff line number Diff line change
@@ -96,6 +96,7 @@ func (app *App) Deploy(opt DeployOption) error {
} else if err := validateUpdateFunction(current.Configuration, current.Code, fn); err != nil {
return err
}
fillDefaultValues(fn)

if err := app.prepareFunctionCodeForDeploy(opt, fn); err != nil {
return errors.Wrap(err, "failed to prepare function code for deploy")

0 comments on commit 4f59103

Please sign in to comment.