We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16fa58a commit 3becd8fCopy full SHA for 3becd8f
src/modules/scf/utils.ts
@@ -21,6 +21,7 @@ export const formatInputs = (inputs: ScfCreateFunctionInputs) => {
21
},
22
L5Enable: inputs.l5Enable === true ? 'TRUE' : 'FALSE',
23
InstallDependency: inputs.installDependency === true ? 'TRUE' : 'FALSE',
24
+ Handler: inputs.type === 'web' ? 'scf_bootstrap' : inputs.handler,
25
};
26
27
// 镜像方式部署
@@ -51,8 +52,6 @@ export const formatInputs = (inputs: ScfCreateFunctionInputs) => {
51
52
53
// 只有 Event 函数才支持
54
if (inputs.type !== 'web') {
- functionInputs.Handler = inputs.handler;
55
-
56
if (inputs.asyncRunEnable !== undefined) {
57
functionInputs.AsyncRunEnable = inputs.asyncRunEnable === true ? 'TRUE' : 'FALSE';
58
}
0 commit comments