File tree 5 files changed +8
-8
lines changed
5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import (
32
32
33
33
"google.golang.org/grpc"
34
34
"google.golang.org/grpc/balancer"
35
- "google.golang.org/grpc/balancer/grpclb/grpclbstate "
35
+ grpclbstate "google.golang.org/grpc/balancer/grpclb/state "
36
36
"google.golang.org/grpc/connectivity"
37
37
"google.golang.org/grpc/credentials"
38
38
"google.golang.org/grpc/grpclog"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import (
36
36
37
37
"google.golang.org/grpc"
38
38
"google.golang.org/grpc/balancer"
39
- "google.golang.org/grpc/balancer/grpclb/grpclbstate "
39
+ grpclbstate "google.golang.org/grpc/balancer/grpclb/state "
40
40
"google.golang.org/grpc/codes"
41
41
"google.golang.org/grpc/credentials"
42
42
"google.golang.org/grpc/internal"
Original file line number Diff line number Diff line change 16
16
*
17
17
*/
18
18
19
- // Package grpclbstate declares grpclb types to be set by resolvers wishing to
20
- // pass information to grpclb via resolver.State Attributes.
21
- package grpclbstate
19
+ // Package state declares grpclb types to be set by resolvers wishing to pass
20
+ // information to grpclb via resolver.State Attributes.
21
+ package state
22
22
23
23
import (
24
24
"google.golang.org/grpc/resolver"
@@ -27,7 +27,7 @@ import (
27
27
// keyType is the key to use for storing State in Attributes.
28
28
type keyType string
29
29
30
- const key = keyType ("grpc.grpclb.grpclbstate " )
30
+ const key = keyType ("grpc.grpclb.state " )
31
31
32
32
// State contains gRPCLB-relevant data passed from the name resolver.
33
33
type State struct {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import (
32
32
"sync"
33
33
"time"
34
34
35
- grpclbstate "google.golang.org/grpc/balancer/grpclb/grpclbstate "
35
+ grpclbstate "google.golang.org/grpc/balancer/grpclb/state "
36
36
"google.golang.org/grpc/grpclog"
37
37
"google.golang.org/grpc/internal/backoff"
38
38
"google.golang.org/grpc/internal/envconfig"
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import (
34
34
"github.com/google/go-cmp/cmp"
35
35
"github.com/google/go-cmp/cmp/cmpopts"
36
36
"google.golang.org/grpc/balancer"
37
- grpclbstate "google.golang.org/grpc/balancer/grpclb/grpclbstate "
37
+ grpclbstate "google.golang.org/grpc/balancer/grpclb/state "
38
38
"google.golang.org/grpc/internal/envconfig"
39
39
"google.golang.org/grpc/internal/leakcheck"
40
40
"google.golang.org/grpc/internal/testutils"
You can’t perform that action at this time.
0 commit comments