mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-14 05:19:21 +00:00
Merge pull request #2662 from cmaf/tracing-stop-rootctx
runtime: tracing: Use root context to stop tracing
This commit is contained in:
@@ -940,7 +940,7 @@ func (s *service) Shutdown(ctx context.Context, r *taskAPI.ShutdownRequest) (_ *
|
|||||||
s.mu.Unlock()
|
s.mu.Unlock()
|
||||||
|
|
||||||
span.End()
|
span.End()
|
||||||
katatrace.StopTracing(s.ctx)
|
katatrace.StopTracing(s.rootCtx)
|
||||||
|
|
||||||
s.cancel()
|
s.cancel()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user