File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ export default class Scf {
188
188
FunctionName : functionInputs . FunctionName ,
189
189
CosBucketName : functionInputs . Code ?. CosBucketName ,
190
190
CosObjectName : functionInputs . Code ?. CosObjectName ,
191
- Namespace : inputs . Namespace || funcInfo . Namespace ,
191
+ Namespace : inputs . namespace || funcInfo . Namespace ,
192
192
} ;
193
193
await this . request ( updateFunctionConnfigure ) ;
194
194
return true ;
@@ -589,7 +589,7 @@ export default class Scf {
589
589
const { Status, StatusReasons } = funcInfo ;
590
590
const reason = StatusReasons && StatusReasons . length > 0 ? StatusReasons [ 0 ] . ErrorMessage : '' ;
591
591
if ( Status === 'Active' ) {
592
- return true ;
592
+ return funcInfo ;
593
593
}
594
594
let errorMsg = '' ;
595
595
switch ( Status ) {
You can’t perform that action at this time.
0 commit comments