Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-schndr committed Jan 26, 2024
1 parent 1bce58e commit 2935b44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/cluster/loadbalancerprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,6 @@ func TestReconcileLoadBalancerProfile(t *testing.T) {
loadBalancersClient *mock_network.MockLoadBalancersClient,
publicIPAddressClient *mock_network.MockPublicIPAddressesClient,
ctx context.Context) {

clusterManagedIPs := newDefaultClusterIPs()
clusterManagedIPs = append(clusterManagedIPs, newPublicIPAddress("uuid1-outbound-pip-v4",
fmt.Sprintf("%s/providers/Microsoft.Network/publicIPAddresses/%s", clusterRGID, "uuid1-outbound-pip-v4"),
Expand Down
6 changes: 5 additions & 1 deletion pkg/util/loadbalancer/fake/loadbalancer.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package fake

// Copyright (c) Microsoft Corporation.
// Licensed under the Apache License 2.0.

import (
"github.com/Azure/ARO-RP/pkg/api"
mgmtnetwork "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-08-01/network"
"github.com/Azure/go-autorest/autorest/to"

"github.com/Azure/ARO-RP/pkg/api"
)

const OutboundRuleV4 = "outbound-rule-v4"
Expand Down
1 change: 0 additions & 1 deletion pkg/util/loadbalancer/loadbalancer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (

var (
infraID = "infraID"
location = "eastus"
publicIngressFIPConfigID = to.StringPtr("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clusterRG/providers/Microsoft.Network/loadBalancers/infraID/frontendIPConfigurations/ae3506385907e44eba9ef9bf76eac973")
)

Expand Down

0 comments on commit 2935b44

Please sign in to comment.