File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
stackit/internal/services/loadbalancer Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 44 "context"
55 _ "embed"
66 "fmt"
7+ "maps"
78 "strings"
89 "testing"
910
@@ -14,8 +15,6 @@ import (
1415 "github.com/stackitcloud/stackit-sdk-go/services/loadbalancer/v2api/wait"
1516 "github.com/stackitcloud/terraform-provider-stackit/stackit/internal/core"
1617
17- "maps"
18-
1918 "github.com/stackitcloud/stackit-sdk-go/core/utils"
2019 loadbalancer "github.com/stackitcloud/stackit-sdk-go/services/loadbalancer/v2api"
2120 "github.com/stackitcloud/terraform-provider-stackit/stackit/internal/testutil"
@@ -432,7 +431,7 @@ func testAccCheckLoadBalancerDestroy(s *terraform.State) error {
432431 return fmt .Errorf ("getting loadbalancersResp: %w" , err )
433432 }
434433
435- if loadbalancersResp . LoadBalancers == nil || ( len (loadbalancersResp .LoadBalancers ) == 0 ) {
434+ if len (loadbalancersResp .LoadBalancers ) == 0 {
436435 fmt .Print ("No load balancers found for project \n " )
437436 return nil
438437 }
You can’t perform that action at this time.
0 commit comments