Skip to content

Commit 4e73b6f

Browse files
committed
chore: fix golang.org/x/net/context
fix
1 parent 3184287 commit 4e73b6f

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

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)