We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a96415d commit bfe6841Copy full SHA for bfe6841
stackit/internal/services/git/git_acc_test.go
@@ -328,7 +328,7 @@ func testAccCheckGitInstanceDestroy(s *terraform.State) error {
328
329
gitInstances := instancesResp.Instances
330
for i := range gitInstances {
331
- if utils.Contains(instancesToDestroy, gitInstances[i].Id) {
+ if slices.Contains(instancesToDestroy, gitInstances[i].Id) {
332
err := client.DefaultAPI.DeleteInstance(ctx, testutil.ProjectId, gitInstances[i].Id).Execute()
333
if err != nil {
334
return fmt.Errorf("destroying git instance %s during CheckDestroy: %w", gitInstances[i].Id, err)
0 commit comments