1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Use non-exp maps package

The maps package became available as a standard non-experimental package
in Go 1.21.
This commit is contained in:
Markus Lehtonen 2023-12-12 17:31:25 +02:00
parent 605c66974a
commit 8e477cdfa4
2 changed files with 2 additions and 2 deletions

2
go.mod
View file

@ -20,7 +20,6 @@ require (
github.com/smartystreets/goconvey v1.6.4
github.com/stretchr/testify v1.8.4
github.com/vektra/errors v0.0.0-20140903201135-c64d83aba85a
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb
golang.org/x/net v0.19.0
golang.org/x/time v0.5.0
google.golang.org/grpc v1.59.0
@ -164,6 +163,7 @@ require (
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/oauth2 v0.14.0 // indirect
golang.org/x/sync v0.5.0 // indirect

View file

@ -19,12 +19,12 @@ package e2e
import (
"context"
"fmt"
"maps"
"strings"
"time"
. "github.com/onsi/gomega"
gomegatypes "github.com/onsi/gomega/types"
"golang.org/x/exp/maps"
taintutils "k8s.io/kubernetes/pkg/util/taints"
corev1 "k8s.io/api/core/v1"