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 76af890 commit a3908d0Copy full SHA for a3908d0
src/modules/scf/utils.ts
@@ -21,7 +21,6 @@ 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
// 镜像方式部署
@@ -52,6 +51,8 @@ export const formatInputs = (inputs: ScfCreateFunctionInputs) => {
52
51
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