From 7cf6aab875e8df04498d62eff41d8779c7e69810 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Fri, 11 Dec 2015 11:06:14 -0800 Subject: [PATCH] revise naming package a bit --- naming/naming.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/naming/naming.go b/naming/naming.go index c91e0d49..06605607 100644 --- a/naming/naming.go +++ b/naming/naming.go @@ -35,10 +35,6 @@ // The interface is EXPERIMENTAL and may be suject to change. package naming -import ( - "golang.org/x/net/context" -) - // Operation defines the corresponding operations for a name resolution change. type Operation uint8 @@ -71,7 +67,7 @@ type Resolver interface { type Watcher interface { // Next blocks until an update or error happens. It may return one or more // updates. The first call should get the full set of the results. - Next(ctx context.Context) ([]*Update, error) + Next() ([]*Update, error) // Close closes the Watcher. Close() }