Skip to content

Commit

Permalink
balancer/resolver: remove temporary backward-compatibility type alias…
Browse files Browse the repository at this point in the history
…es (#3309)
  • Loading branch information
dfawley authored Jan 22, 2020
1 parent 3311b9e commit 27fd7d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions balancer/balancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,6 @@ type ConfigParser interface {
ParseConfig(LoadBalancingConfigJSON json.RawMessage) (serviceconfig.LoadBalancingConfig, error)
}

// PickOptions is a type alias of PickInfo for legacy reasons.
//
// Deprecated: use PickInfo instead.
type PickOptions = PickInfo

// PickInfo contains additional information for the Pick operation.
type PickInfo struct {
// FullMethodName is the method name that NewClientStream() is called
Expand Down
10 changes: 0 additions & 10 deletions resolver/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ type Address struct {
Metadata interface{}
}

// BuildOption is a type alias of BuildOptions for legacy reasons.
//
// Deprecated: use BuildOptions instead.
type BuildOption = BuildOptions

// BuildOptions includes additional information for the builder to create
// the resolver.
type BuildOptions struct {
Expand Down Expand Up @@ -235,11 +230,6 @@ type Builder interface {
Scheme() string
}

// ResolveNowOption is a type alias of ResolveNowOptions for legacy reasons.
//
// Deprecated: use ResolveNowOptions instead.
type ResolveNowOption = ResolveNowOptions

// ResolveNowOptions includes additional information for ResolveNow.
type ResolveNowOptions struct{}

Expand Down

0 comments on commit 27fd7d0

Please sign in to comment.