Skip to content

Commit 8d3b87f

Browse files
SaidAltury-ibmmbrandenburger
authored andcommitted
Remove span termination from function that should not be responsible for ending it
Signed-off-by: Said Altury <Said.Altury@ibm.com>
1 parent 143d0e1 commit 8d3b87f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

platform/view/services/comm/host/rest/websocket/multiplexed_provider.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ func (c *MultiplexedProvider) NewClientStream(info host2.StreamInfo, ctx context
116116
if err != nil {
117117
span.RecordError(err)
118118
}
119-
span.End()
120119
}()
121120
logger.Debugf("Creating new stream from [%s] to [%s@%s]...", src, info.RemotePeerID, info.RemotePeerAddress)
122121
tlsEnabled := config != nil && (config.InsecureSkipVerify || config.RootCAs != nil)

0 commit comments

Comments
 (0)