Skip to content

Commit 27fd7d0

Browse files
authored
balancer/resolver: remove temporary backward-compatibility type aliases (grpc#3309)
1 parent 3311b9e commit 27fd7d0

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

balancer/balancer.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@ type ConfigParser interface {
203203
ParseConfig(LoadBalancingConfigJSON json.RawMessage) (serviceconfig.LoadBalancingConfig, error)
204204
}
205205

206-
// PickOptions is a type alias of PickInfo for legacy reasons.
207-
//
208-
// Deprecated: use PickInfo instead.
209-
type PickOptions = PickInfo
210-
211206
// PickInfo contains additional information for the Pick operation.
212207
type PickInfo struct {
213208
// FullMethodName is the method name that NewClientStream() is called

resolver/resolver.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ type Address struct {
124124
Metadata interface{}
125125
}
126126

127-
// BuildOption is a type alias of BuildOptions for legacy reasons.
128-
//
129-
// Deprecated: use BuildOptions instead.
130-
type BuildOption = BuildOptions
131-
132127
// BuildOptions includes additional information for the builder to create
133128
// the resolver.
134129
type BuildOptions struct {
@@ -235,11 +230,6 @@ type Builder interface {
235230
Scheme() string
236231
}
237232

238-
// ResolveNowOption is a type alias of ResolveNowOptions for legacy reasons.
239-
//
240-
// Deprecated: use ResolveNowOptions instead.
241-
type ResolveNowOption = ResolveNowOptions
242-
243233
// ResolveNowOptions includes additional information for ResolveNow.
244234
type ResolveNowOptions struct{}
245235

0 commit comments

Comments
 (0)