Skip to content

Commit

Permalink
Remove unused context from gRPC services.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 681832790
  • Loading branch information
panhania authored and copybara-github committed Oct 3, 2024
1 parent f0d649c commit 69da8be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fleetspeak/src/server/grpcservice/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import (
// GRPCService is a service.Service which forwards all received
// messages to an implementation of ggrpc.Processor.
type GRPCService struct {
sctx service.Context
conn *grpc.ClientConn
client ggrpc.ProcessorClient
l sync.RWMutex
Expand All @@ -61,7 +60,6 @@ func NewGRPCService(c *grpc.ClientConn) *GRPCService {
}

func (s *GRPCService) Start(sctx service.Context) error {
s.sctx = sctx
return nil
}

Expand Down

0 comments on commit 69da8be

Please sign in to comment.