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 @@ -128,7 +128,7 @@ class Scf {
128
128
Action : 'UpdateFunctionCode' ,
129
129
Version : functionInputs . Version ,
130
130
Region : functionInputs . Region ,
131
- Handler : inputs . Handler || funcInfo . Handler ,
131
+ Handler : functionInputs . Handler || funcInfo . Handler ,
132
132
FunctionName : functionInputs . FunctionName ,
133
133
CosBucketName : functionInputs [ 'Code.CosBucketName' ] ,
134
134
CosObjectName : functionInputs [ 'Code.CosObjectName' ] ,
@@ -432,6 +432,9 @@ class Scf {
432
432
) ;
433
433
}
434
434
await this . updatefunctionConfigure ( inputs , funcInfo ) ;
435
+
436
+ // after updating function, get latest function info
437
+ funcInfo = await this . getFunction ( namespace , inputs . name ) ;
435
438
}
436
439
437
440
// after create/update function, should check function status is active, then continue
You can’t perform that action at this time.
0 commit comments