@@ -70,7 +70,7 @@ func deploymentCreateBuilder(c *core.Command) *core.Command {
70
70
c .WaitFunc = func (ctx context.Context , _ , respI interface {}) (interface {}, error ) {
71
71
api := inference .NewAPI (core .ExtractClient (ctx ))
72
72
return api .WaitForDeployment (& inference.WaitForDeploymentRequest {
73
- DeploymentId : respI .(* inference.Deployment ).ID ,
73
+ DeploymentID : respI .(* inference.Deployment ).ID ,
74
74
Region : respI .(* inference.Deployment ).Region ,
75
75
Status : respI .(* inference.Deployment ).Status ,
76
76
Timeout : scw .TimeDurationPtr (deploymentActionTimeout ),
@@ -119,7 +119,7 @@ func deploymentDeleteBuilder(c *core.Command) *core.Command {
119
119
c .WaitFunc = func (ctx context.Context , _ , respI interface {}) (interface {}, error ) {
120
120
api := inference .NewAPI (core .ExtractClient (ctx ))
121
121
deployment , err := api .WaitForDeployment (& inference.WaitForDeploymentRequest {
122
- DeploymentId : respI .(* inference.Deployment ).ID ,
122
+ DeploymentID : respI .(* inference.Deployment ).ID ,
123
123
Region : respI .(* inference.Deployment ).Region ,
124
124
Status : respI .(* inference.Deployment ).Status ,
125
125
Timeout : scw .TimeDurationPtr (deploymentActionTimeout ),
0 commit comments