Remove unnecessary context wrappers

This commit is contained in:
世界
2023-12-26 10:52:47 +08:00
parent bca531b6d2
commit c2b71dac82
6 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ func NewURLTestGroup(
idleTimeout: idleTimeout,
history: history,
close: make(chan struct{}),
pauseManager: pause.ManagerFromContext(ctx),
pauseManager: service.FromContext[pause.Manager](ctx),
interruptGroup: interrupt.NewGroup(),
interruptExternalConnections: interruptExternalConnections,
}, nil