deviceplugin: build against standard Go lib context

This commit is contained in:
Dmitry Rozhkov 2018-08-08 11:37:27 +03:00
parent 61306c5870
commit de9d89dc6d
2 changed files with 1 additions and 5 deletions

View File

@ -27,10 +27,6 @@ ignored = ["k8s.io/code-generator"]
branch = "master"
name = "github.com/golang/glog"
[[constraint]]
branch = "master"
name = "golang.org/x/net"
[[constraint]]
name = "google.golang.org/grpc"
version = "1.11.0"

View File

@ -15,6 +15,7 @@
package deviceplugin
import (
"context"
"fmt"
"net"
"os"
@ -23,7 +24,6 @@ import (
"testing"
"time"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.golang.org/grpc/metadata"