Make passthrouth resolver the default instead of dns (#1606)

This commit is contained in:
Menghan Li
2017-10-20 12:03:44 -07:00
committed by GitHub
parent de0cff50aa
commit 94f1917696
3 changed files with 4 additions and 4 deletions

View File

@ -17,8 +17,7 @@
*/
// Package passthrough implements a pass-through resolver. It sends the target
// name without scheme back to gRPC as resolved address. It's for gRPC internal
// test only.
// name without scheme back to gRPC as resolved address.
package passthrough
import "google.golang.org/grpc/resolver"

View File

@ -24,7 +24,7 @@ var (
// m is a map from scheme to resolver builder.
m = make(map[string]Builder)
// defaultScheme is the default scheme to use.
defaultScheme = "dns"
defaultScheme = "passthrough"
)
// TODO(bar) install dns resolver in init(){}.