File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export const formatInputs = (inputs: ScfCreateFunctionInputs) => {
11
11
Runtime : inputs . runtime ,
12
12
Namespace : inputs . namespace || CONFIGS . defaultNamespace ,
13
13
Timeout : + ( inputs . timeout || CONFIGS . defaultTimeout ) ,
14
- InitTimeout : + ( inputs . initTimeout || CONFIGS . defaultInitTimeout ) ,
15
14
MemorySize : + ( inputs . memorySize || CONFIGS . defaultMemorySize ) ,
16
15
PublicNetConfig : {
17
16
PublicNetStatus : inputs . publicAccess === false ? 'DISABLE' : 'ENABLE' ,
@@ -23,6 +22,10 @@ export const formatInputs = (inputs: ScfCreateFunctionInputs) => {
23
22
InstallDependency : inputs . installDependency === true ? 'TRUE' : 'FALSE' ,
24
23
} ;
25
24
25
+ if ( inputs . initTimeout ) {
26
+ functionInputs . InitTimeout = inputs . initTimeout ;
27
+ }
28
+
26
29
// 镜像方式部署
27
30
if ( inputs . imageConfig ) {
28
31
const { imageConfig } = inputs ;
You can’t perform that action at this time.
0 commit comments