Skip to content

Commit

Permalink
Merge pull request #194 from jpodivin/duplicatedimport
Browse files Browse the repository at this point in the history
Removing duplicated import and adjusting references
  • Loading branch information
openshift-merge-bot[bot] authored Mar 10, 2024
2 parents ca2fff4 + 7763fb0 commit 8b35d05
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions apis/network/v1beta1/common_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"context"
"fmt"

"sigs.k8s.io/controller-runtime/pkg/client"
goClient "sigs.k8s.io/controller-runtime/pkg/client"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down Expand Up @@ -38,11 +37,11 @@ const (
)

func getNetConfig(
_ client.Client,
_ goClient.Client,
obj metav1.Object,
) (*NetConfig, error) {
// check if NetConfig is available
opts := &client.ListOptions{
opts := &goClient.ListOptions{
Namespace: obj.GetNamespace(),
}

Expand All @@ -62,11 +61,11 @@ func getNetConfig(
}

func getIPSets(
_ client.Client,
_ goClient.Client,
obj metav1.Object,
) (*IPSetList, error) {
// check if IPSet is available
opts := &client.ListOptions{
opts := &goClient.ListOptions{
Namespace: obj.GetNamespace(),
}

Expand Down

0 comments on commit 8b35d05

Please sign in to comment.