Skip to content

Don't finish the opentracing span early

Nick Thomas requested to merge dont-close-span-early into main

Calling finished() in ContextWithCorrelationID breaks opentracing, since it expects us to call it just before exiting, and this defer runs on function completion.

All existing users of ContextWithCorrelationID already defer finished() themselves, so this call is entirely surplus to requirements.

Edited by Nick Thomas

Merge request reports