Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-Wilson committed May 13, 2022
1 parent f32e9a1 commit 1b826b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion das/dasrpc/rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ func TestRPC(t *testing.T) {
localDas, err := das.NewLocalDiskDASWithSeqInboxCaller(dasConfig, nil)
testhelpers.RequireImpl(t, err)
dasServer, err := StartDASRPCServerOnListener(ctx, lis, localDas)
defer dasServer.Shutdown(ctx)
defer func() {
if err := dasServer.Shutdown(ctx); err != nil {
panic(err)
}
}()
testhelpers.RequireImpl(t, err)
config := BackendConfig{
URL: "http://" + lis.Addr().String(),
Expand Down

0 comments on commit 1b826b7

Please sign in to comment.