Skip to content

Commit

Permalink
vets and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars committed Aug 30, 2019
1 parent 822bacc commit e90fd41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backoff.go
Expand Up @@ -44,7 +44,7 @@ type BackoffConfig struct {
}

// ConnectParams defines the parameters for connecting and retrying. Users are
// encouraged to use this instead of BackoffConfig the type defined above. See
// encouraged to use this instead of the BackoffConfig type defined above. See
// here for more details:
// https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md.
//
Expand Down
2 changes: 1 addition & 1 deletion backoff/backoff.go
Expand Up @@ -39,7 +39,7 @@ type Config struct {
}

// DefaultConfig is a backoff configuration with the default values specfied
// in https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md.
// at https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md.
//
// This should be useful for callers who want to configure backoff with
// non-default values only for a subset of the options.
Expand Down
2 changes: 1 addition & 1 deletion resolver/dns/dns_resolver.go
Expand Up @@ -131,7 +131,7 @@ func (b *dnsBuilder) Build(target resolver.Target, cc resolver.ClientConn, opts
bc.MaxDelay = b.minFreq
d := &dnsResolver{
freq: b.minFreq,
backoff: backoff.Exponential{bc},
backoff: backoff.Exponential{Config: bc},
host: host,
port: port,
ctx: ctx,
Expand Down

0 comments on commit e90fd41

Please sign in to comment.