fix: handle deployment task status check on deployment to wangsu cdnpro

main
Fu Diwei 2025-04-19 19:37:31 +08:00
parent 32ff658e84
commit 54ae378e30
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ func (d *DeployerProvider) Deploy(ctx context.Context, certPem string, privkeyPe
if getDeploymentTaskDetailResp.Status == "failed" {
return nil, errors.New("unexpected deployment task status")
} else if getDeploymentTaskDetailResp.Status == "succeeded" {
} else if getDeploymentTaskDetailResp.Status == "succeeded" || getDeploymentTaskDetailResp.FinishTime != "" {
break
}