Skip to content

Commit 2dc9843

Browse files
committed
chore: fix golang.org/x/net/context
fix fix gomod
1 parent 3184287 commit 2dc9843

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ require (
1010
github.com/pborman/uuid v1.2.1
1111
github.com/stretchr/testify v1.11.1
1212
go.uber.org/goleak v1.3.0
13-
golang.org/x/net v0.47.0
1413
google.golang.org/grpc v1.76.0
1514
google.golang.org/protobuf v1.36.10
1615
k8s.io/api v0.31.12
@@ -39,6 +38,7 @@ require (
3938
github.com/x448/float16 v0.8.4 // indirect
4039
go.yaml.in/yaml/v2 v2.4.2 // indirect
4140
go.yaml.in/yaml/v3 v3.0.4 // indirect
41+
golang.org/x/net v0.47.0 // indirect
4242
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
4343
)
4444

pkg/nfs/controllerserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ limitations under the License.
1717
package nfs
1818

1919
import (
20+
"context"
2021
"fmt"
2122
"io/fs"
2223
"os"
@@ -28,7 +29,6 @@ import (
2829
"time"
2930

3031
"github.com/container-storage-interface/spec/lib/go/csi"
31-
"golang.org/x/net/context"
3232
"google.golang.org/grpc/codes"
3333
"google.golang.org/grpc/status"
3434
"google.golang.org/protobuf/types/known/timestamppb"

pkg/nfs/controllerserver_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package nfs
1919
import (
2020
"archive/tar"
2121
"compress/gzip"
22+
"context"
2223
"os"
2324
"path/filepath"
2425
"reflect"
@@ -30,7 +31,6 @@ import (
3031

3132
"github.com/container-storage-interface/spec/lib/go/csi"
3233
"github.com/stretchr/testify/assert"
33-
"golang.org/x/net/context"
3434
"google.golang.org/grpc/codes"
3535
"google.golang.org/grpc/status"
3636
"google.golang.org/protobuf/types/known/timestamppb"

pkg/nfs/identityserver.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ limitations under the License.
1717
package nfs
1818

1919
import (
20+
"context"
21+
2022
"github.com/container-storage-interface/spec/lib/go/csi"
21-
"golang.org/x/net/context"
2223
"google.golang.org/grpc/codes"
2324
"google.golang.org/grpc/status"
2425
"google.golang.org/protobuf/types/known/wrapperspb"

pkg/nfs/nodeserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ limitations under the License.
1717
package nfs
1818

1919
import (
20+
"context"
2021
"fmt"
2122
"os"
2223
"strconv"
2324
"strings"
2425
"time"
2526

2627
"github.com/container-storage-interface/spec/lib/go/csi"
27-
"golang.org/x/net/context"
2828
"google.golang.org/grpc/codes"
2929
"google.golang.org/grpc/status"
3030
"k8s.io/klog/v2"

pkg/nfs/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ limitations under the License.
1717
package nfs
1818

1919
import (
20+
"context"
2021
"fmt"
2122
"os"
2223
"path/filepath"
@@ -26,7 +27,6 @@ import (
2627

2728
"github.com/container-storage-interface/spec/lib/go/csi"
2829
"github.com/kubernetes-csi/csi-lib-utils/protosanitizer"
29-
"golang.org/x/net/context"
3030
"google.golang.org/grpc"
3131
"k8s.io/apimachinery/pkg/util/sets"
3232

0 commit comments

Comments
 (0)