Skip to content

Commit 4167cf3

Browse files
committed
fix linter
1 parent 5d4a283 commit 4167cf3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

stackit/internal/services/loadbalancer/loadbalancer_acc_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
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
}

0 commit comments

Comments
 (0)