Skip to content

Commit

Permalink
cleanup: use standard Golang "slices" instead of k8s package
Browse files Browse the repository at this point in the history
The "slices" package has been introduced in Go 1.21 and can be used
instead of the Kubernetes package that will be replaced by the standard
package at one point too.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
  • Loading branch information
nixpanic committed Mar 29, 2024
1 parent 33a888f commit 7126255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cephfs/groupcontrollerserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"context"
"errors"
"fmt"
"slices"
"sort"
"time"

Expand All @@ -36,7 +37,6 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"google.golang.org/protobuf/types/known/timestamppb"
"k8s.io/utils/strings/slices"
)

// validateCreateVolumeGroupSnapshotRequest validates the request for creating
Expand Down

0 comments on commit 7126255

Please sign in to comment.