mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-01 00:10:17 -05:00
debugServer: Set a base context for the http server
to allow propagating context cancellation
This commit is contained in:
committed by
Ralf Haferkamp
parent
54664024c8
commit
2a53dd89f4
@@ -15,6 +15,7 @@ func Server(opts ...Option) (*http.Server, error) {
|
||||
|
||||
return debug.NewService(
|
||||
debug.Logger(options.Logger),
|
||||
debug.Context(options.Context),
|
||||
debug.Name(options.Config.Service.Name),
|
||||
debug.Version(version.GetString()),
|
||||
debug.Address(options.Config.Debug.Addr),
|
||||
|
||||
Reference in New Issue
Block a user