mirror of https://github.com/grpc/grpc-go.git
gofmt
This commit is contained in:
parent
2e3fbc4f8f
commit
6970805cc5
|
|
@ -107,10 +107,6 @@ func (nr *etcdNR) Get(target string) map[string]string {
|
||||||
}
|
}
|
||||||
res := make(map[string]string)
|
res := make(map[string]string)
|
||||||
getNode(resp.Node, res)
|
getNode(resp.Node, res)
|
||||||
|
|
||||||
for k,v := range res {
|
|
||||||
fmt.Println("key is :",k,"value is :",v)}
|
|
||||||
|
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -149,5 +145,3 @@ func (nr *etcdNR) Stop() {
|
||||||
nr.recv.stop()
|
nr.recv.stop()
|
||||||
nr.cancel()
|
nr.cancel()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package naming;
|
package naming
|
||||||
|
|
||||||
// Resolver dose name resolution and watches for the resolution changes.
|
// Resolver dose name resolution and watches for the resolution changes.
|
||||||
type Resolver interface {
|
type Resolver interface {
|
||||||
|
|
@ -11,4 +11,3 @@ type Resolver interface {
|
||||||
// Stop shuts down the NameResolver.
|
// Stop shuts down the NameResolver.
|
||||||
Stop()
|
Stop()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue