Skip to content

Commit

Permalink
refactor: rename library method to listen for toggle state changes
Browse files Browse the repository at this point in the history
  • Loading branch information
flohansen committed Jun 23, 2024
1 parent 39230b7 commit 2ba1a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dasher/dasher.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewFeature(opts FeatureParams) *Feature {
}
}

func Connect(ctx context.Context, addr string) {
func Listen(ctx context.Context, addr string) {
conn, err := grpc.NewClient(addr, grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
errors.Wrap(err, "create new grpc client")
Expand Down

0 comments on commit 2ba1a64

Please sign in to comment.