Skip to content

Commit

Permalink
make vet happy
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars committed Mar 21, 2022
1 parent d6be0c7 commit 7d2ab10
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/balancer/stub/stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
// Package stub implements a balancer for testing purposes.
package stub

import (
"google.golang.org/grpc/balancer"
"google.golang.org/grpc/grpclog"
)
import "google.golang.org/grpc/balancer"

// BalancerFuncs contains all balancer.Balancer functions with a preceding
// *BalancerData parameter for passing additional instance information. Any
Expand Down Expand Up @@ -103,6 +100,5 @@ func (bb bb) Name() string { return bb.name }
// Register registers a stub balancer builder which will call the provided
// functions. The name used should be unique.
func Register(name string, bf BalancerFuncs) {
grpclog.Infof("Registering stub balancer with name %q", name)
balancer.Register(bb{name: name, bf: bf})
}

0 comments on commit 7d2ab10

Please sign in to comment.