Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

balancer/resolver: remove temporary backward-compatibility type aliases #3309

Merged
merged 1 commit into from
Jan 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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