Skip to content

Commit ef50ed3

Browse files
Update stackit/internal/services/git/git_acc_test.go
Co-authored-by: cgoetz-inovex <carlo.goetz@inovex.de>
1 parent 36d7df0 commit ef50ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackit/internal/services/git/git_acc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func testAccCheckGitInstanceDestroy(s *terraform.State) error {
328328

329329
gitInstances := instancesResp.Instances
330330
for i := range gitInstances {
331-
if utils.Contains(instancesToDestroy, gitInstances[i].Id) {
331+
if slices.Contains(instancesToDestroy, gitInstances[i].Id) {
332332
err := client.DefaultAPI.DeleteInstance(ctx, testutil.ProjectId, gitInstances[i].Id).Execute()
333333
if err != nil {
334334
return fmt.Errorf("destroying git instance %s during CheckDestroy: %w", gitInstances[i].Id, err)

0 commit comments

Comments
 (0)