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" branch = "master"
name = "github.com/golang/glog" name = "github.com/golang/glog"
[[constraint]]
branch = "master"
name = "golang.org/x/net"
[[constraint]] [[constraint]]
name = "google.golang.org/grpc" name = "google.golang.org/grpc"
version = "1.11.0" version = "1.11.0"

View File

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