Skip to content

Commit

Permalink
Initialise the unimplemented server given that gRIBI is embedded.
Browse files Browse the repository at this point in the history
 * (M) gribi/gribi.go
   - Ensure that the unimplemented server is initialised correctly.
  • Loading branch information
robshakir committed Jan 6, 2025
1 parent 1857c60 commit ebfc91c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gribi/gribi.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ func New(s *grpc.Server, gClient gpb.GNMIClient, target string, root *oc.Root, s
}

srv := &Server{
Server: gs,
s: s,
UnimplementedGRIBIServer: &gribipb.UnimplementedGRIBIServer{},
Server: gs,
s: s,
}
gribipb.RegisterGRIBIServer(s, srv)

Expand Down

0 comments on commit ebfc91c

Please sign in to comment.