fix(deps): update stackit sdk modules (#846)
* fix(deps): update stackit sdk modules * feat: Use new generated enums Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> --------- Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com> Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
This commit is contained in:
parent
5d844a84d6
commit
7ce802769c
33 changed files with 222 additions and 225 deletions
|
|
@ -474,12 +474,12 @@ func testAccCheckLogMeDestroy(s *terraform.State) error {
|
|||
}
|
||||
|
||||
func checkInstanceDeleteSuccess(i *logme.Instance) bool {
|
||||
if *i.LastOperation.Type != wait.InstanceOperationTypeDelete {
|
||||
if *i.LastOperation.Type != logme.INSTANCELASTOPERATIONTYPE_DELETE {
|
||||
return false
|
||||
}
|
||||
|
||||
if *i.LastOperation.Type == wait.InstanceOperationTypeDelete {
|
||||
if *i.LastOperation.State != wait.InstanceOperationStateSucceeded {
|
||||
if *i.LastOperation.Type == logme.INSTANCELASTOPERATIONTYPE_DELETE {
|
||||
if *i.LastOperation.State != logme.INSTANCELASTOPERATIONSTATE_SUCCEEDED {
|
||||
return false
|
||||
} else if strings.Contains(*i.LastOperation.Description, "DeleteFailed") || strings.Contains(*i.LastOperation.Description, "failed") {
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue