Skip to content

Commit 1890157

Browse files
authored
Merge pull request kubernetes#128490 from dims/remove-incorrect-usage-of-golang.org/x/net/context
Remove incorrect usage of golang.org/x/net/context
2 parents 3f5d0ee + f74d6bc commit 1890157

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

test/e2e/storage/drivers/csi-test/mock/service/controller.go

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

1919
import (
20+
"context"
2021
"fmt"
2122
"path"
2223
"reflect"
2324
"strconv"
2425

2526
"github.com/container-storage-interface/spec/lib/go/csi"
26-
"golang.org/x/net/context"
2727
"google.golang.org/grpc/codes"
2828
"google.golang.org/grpc/status"
2929

test/e2e/storage/drivers/csi-test/mock/service/identity.go

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

1919
import (
20-
"golang.org/x/net/context"
20+
"context"
2121

2222
"github.com/container-storage-interface/spec/lib/go/csi"
2323
"github.com/golang/protobuf/ptypes/wrappers"

test/e2e/storage/drivers/csi-test/mock/service/node.go

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

1919
import (
20+
"context"
2021
"fmt"
2122
"path"
2223
"strconv"
2324

2425
"google.golang.org/grpc/codes"
2526
"google.golang.org/grpc/status"
2627

27-
"golang.org/x/net/context"
28-
2928
"github.com/container-storage-interface/spec/lib/go/csi"
3029
)
3130

test/e2e/storage/drivers/csi-test/mock/service/service.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 service
1818

1919
import (
20+
"context"
2021
"fmt"
2122
"os"
2223
"strings"
2324
"sync"
2425
"sync/atomic"
2526

2627
"github.com/container-storage-interface/spec/lib/go/csi"
27-
"golang.org/x/net/context"
2828
"google.golang.org/grpc/codes"
2929
"k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/cache"
3030

0 commit comments

Comments
 (0)