mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 13:39:53 +00:00
feat: improve log
This commit is contained in:
parent
eb45b56a87
commit
c10ceed753
@ -214,8 +214,8 @@ func (d *DeployerProvider) Deploy(ctx context.Context, certPem string, privkeyPe
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
d.logger.Info("waiting for deployment task completion ...")
|
d.logger.Info(fmt.Sprintf("waiting for deployment task completion (current status: %s) ...", getDeploymentTaskDetailResp.Status))
|
||||||
time.Sleep(time.Second * 15)
|
time.Sleep(time.Second * 5)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &deployer.DeployResult{}, nil
|
return &deployer.DeployResult{}, nil
|
||||||
|
@ -97,6 +97,8 @@ type CreateDeploymentTaskResponse struct {
|
|||||||
|
|
||||||
type GetDeploymentTaskDetailResponse struct {
|
type GetDeploymentTaskDetailResponse struct {
|
||||||
baseResponse
|
baseResponse
|
||||||
|
Id string `json:"id"`
|
||||||
|
Name string `json:"name"`
|
||||||
Target string `json:"target"`
|
Target string `json:"target"`
|
||||||
Actions []DeploymentTaskAction `json:"actions"`
|
Actions []DeploymentTaskAction `json:"actions"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user