Skip to content

Commit

Permalink
Change from embbeded ptr to embedded literal gRIBI server.
Browse files Browse the repository at this point in the history
  • Loading branch information
robshakir committed Jan 6, 2025
1 parent c8abf50 commit c36982b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rib/reconciler/remote_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func TestNewRemoteRIBWithStub(t *testing.T) {
}

type badGRIBI struct {
*spb.UnimplementedGRIBIServer
spb.UnimplementedGRIBIServer
}

func (b *badGRIBI) Get(_ *spb.GetRequest, _ spb.GRIBI_GetServer) error {
Expand All @@ -138,7 +138,7 @@ func newBadServer(t *testing.T, r *rib.RIB) (string, func()) {
}

type hangingGRIBI struct {
*spb.UnimplementedGRIBIServer
spb.UnimplementedGRIBIServer
}

func (h *hangingGRIBI) Get(_ *spb.GetRequest, _ spb.GRIBI_GetServer) error {
Expand Down

0 comments on commit c36982b

Please sign in to comment.