From 55ef601361b865e7783c7b35db3d8d702fb93774 Mon Sep 17 00:00:00 2001 From: Menghan Li Date: Wed, 28 Nov 2018 12:46:35 -0800 Subject: [PATCH] internal: cleanup remaining x/net/context (#2470) --- Documentation/server-reflection-tutorial.md | 1 - test/healthcheck_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/server-reflection-tutorial.md b/Documentation/server-reflection-tutorial.md index ca8e30cb4..2e3d1c771 100644 --- a/Documentation/server-reflection-tutorial.md +++ b/Documentation/server-reflection-tutorial.md @@ -16,7 +16,6 @@ For example, to enable server reflection in `example/helloworld`, we need to mak --- a/examples/helloworld/greeter_server/main.go +++ b/examples/helloworld/greeter_server/main.go @@ -40,6 +40,7 @@ import ( - "golang.org/x/net/context" "google.golang.org/grpc" pb "google.golang.org/grpc/examples/helloworld/helloworld" + "google.golang.org/grpc/reflection" diff --git a/test/healthcheck_test.go b/test/healthcheck_test.go index bc058550b..016ab4a62 100644 --- a/test/healthcheck_test.go +++ b/test/healthcheck_test.go @@ -19,6 +19,7 @@ package test import ( + "context" "errors" "fmt" "net" @@ -26,7 +27,6 @@ import ( "testing" "time" - "golang.org/x/net/context" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/connectivity"