Skip to content

Commit

Permalink
fix function status
Browse files Browse the repository at this point in the history
  • Loading branch information
dfounderliu committed Nov 26, 2019
1 parent 25488be commit e07be42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/tencentDeployFunction.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class TencentDeployFunction {
let status = 'Updating'
let times = 90
while (status == 'Updating' || status == 'Creating') {
const tempFunc = await this.getFunction('default', funcObject.FuncName)
const tempFunc = await func.getFunction('default', funcObject.FuncName)
status = tempFunc.Status
await utils.sleep(1000)
times = times - 1
Expand Down

0 comments on commit e07be42

Please sign in to comment.