Skip to content

Commit 596b033

Browse files
committed
[golang] replace golang.org/x/exp/slices with stdlib one
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
1 parent 4346c15 commit 596b033

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

apis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ require (
88
github.com/onsi/gomega v1.34.1
99
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20250730071847-837b07f8d72f
1010
github.com/rabbitmq/cluster-operator/v2 v2.9.0
11-
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
1211
k8s.io/api v0.29.15
1312
k8s.io/apimachinery v0.29.15
1413
k8s.io/client-go v0.29.15
@@ -53,6 +52,7 @@ require (
5352
github.com/spf13/pflag v1.0.5 // indirect
5453
go.uber.org/multierr v1.11.0 // indirect
5554
go.uber.org/zap v1.27.0 // indirect
55+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
5656
golang.org/x/net v0.28.0 // indirect
5757
golang.org/x/oauth2 v0.18.0 // indirect
5858
golang.org/x/sys v0.23.0 // indirect

apis/network/v1beta1/ipset_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ package v1beta1
1919
import (
2020
"fmt"
2121
"net"
22+
"slices"
2223
"strings"
2324

24-
"golang.org/x/exp/slices"
2525
"k8s.io/apimachinery/pkg/api/equality"
2626
apierrors "k8s.io/apimachinery/pkg/api/errors"
2727
"k8s.io/apimachinery/pkg/runtime"

apis/network/v1beta1/netconfig_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"fmt"
2222
"net"
2323
"regexp"
24+
"slices"
2425
"strconv"
2526

26-
"golang.org/x/exp/slices"
2727
"k8s.io/apimachinery/pkg/api/equality"
2828
apierrors "k8s.io/apimachinery/pkg/api/errors"
2929
"k8s.io/apimachinery/pkg/runtime"

controllers/network/bgpconfiguration_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"context"
2222
"encoding/json"
2323
"fmt"
24+
"slices"
2425
"strings"
2526

26-
"golang.org/x/exp/slices"
2727
"k8s.io/apimachinery/pkg/api/equality"
2828
k8s_errors "k8s.io/apimachinery/pkg/api/errors"
2929
"k8s.io/apimachinery/pkg/runtime"

0 commit comments

Comments
 (0)