Skip to content

Commit f46d208

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

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ require (
1515
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20250730071847-837b07f8d72f
1616
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20250730071847-837b07f8d72f
1717
github.com/openstack-k8s-operators/swift-operator/api v0.3.1-0.20240523121736-379011b2cfac
18-
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
1918
k8s.io/api v0.29.15
2019
k8s.io/apimachinery v0.29.15
2120
k8s.io/client-go v0.29.15
@@ -61,6 +60,7 @@ require (
6160
github.com/spf13/pflag v1.0.5 // indirect
6261
go.uber.org/multierr v1.11.0 // indirect
6362
go.uber.org/zap v1.27.0 // indirect
63+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
6464
golang.org/x/net v0.28.0 // indirect
6565
golang.org/x/oauth2 v0.18.0 // indirect
6666
golang.org/x/sys v0.23.0 // indirect

pkg/swiftring/funcs.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ import (
2020
"encoding/json"
2121
"fmt"
2222
"path/filepath"
23+
"slices"
2324
"sort"
2425
"strings"
2526

26-
"golang.org/x/exp/slices"
27-
2827
corev1 "k8s.io/api/core/v1"
2928
"k8s.io/apimachinery/pkg/api/errors"
3029
"k8s.io/apimachinery/pkg/types"

0 commit comments

Comments
 (0)