Skip to content

Commit

Permalink
Fix nil pointer panic in transport setup
Browse files Browse the repository at this point in the history
  • Loading branch information
i-hate-nicknames committed Jun 9, 2021
1 parent fe31146 commit 9ced4f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/transport/setup/visor.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func (ts *TransportListener) Serve(ctx context.Context) {
conn, err := lis.AcceptStream()
if err != nil {
ts.log.WithError(err).Error("failed to accept")
break
}
remotePK := conn.RawRemoteAddr().PK
found := false
Expand Down

0 comments on commit 9ced4f2

Please sign in to comment.