Skip to content

Commit 8731155

Browse files
authored
fix(datawarehouse): deprecated Deployment.Status.configuring and added Deployment.Status.deploying (scaleway#2843)
1 parent f8e137d commit 8731155

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/datawarehouse/v1beta1/datawarehouse_sdk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const (
5757
DeploymentStatusLocked = DeploymentStatus("locked")
5858
DeploymentStatusLocking = DeploymentStatus("locking")
5959
DeploymentStatusUnlocking = DeploymentStatus("unlocking")
60+
DeploymentStatusDeploying = DeploymentStatus("deploying")
6061
)
6162

6263
func (enum DeploymentStatus) String() string {
@@ -78,6 +79,7 @@ func (enum DeploymentStatus) Values() []DeploymentStatus {
7879
"locked",
7980
"locking",
8081
"unlocking",
82+
"deploying",
8183
}
8284
}
8385

@@ -1003,6 +1005,7 @@ func (s *API) WaitForDeployment(req *WaitForDeploymentRequest, opts ...scw.Reque
10031005
DeploymentStatusDeleting: {},
10041006
DeploymentStatusLocking: {},
10051007
DeploymentStatusUnlocking: {},
1008+
DeploymentStatusDeploying: {},
10061009
}
10071010

10081011
res, err := async.WaitSync(&async.WaitSyncConfig{

0 commit comments

Comments
 (0)