mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-25 03:32:12 +00:00
Remove accidentally added config.NewState()
This commit is contained in:
parent
2a81882de3
commit
6c013c25cb
|
@ -60,7 +60,7 @@ func Initialize() error {
|
||||||
case "grpc":
|
case "grpc":
|
||||||
opts := []otlptracegrpc.Option{
|
opts := []otlptracegrpc.Option{
|
||||||
otlptracegrpc.WithEndpoint(config.GetTracingEndpoint()),
|
otlptracegrpc.WithEndpoint(config.GetTracingEndpoint()),
|
||||||
otlptracegrpc.WithHeaders(config.NewState().GetTracingHeaders()),
|
otlptracegrpc.WithHeaders(config.GetTracingHeaders()),
|
||||||
}
|
}
|
||||||
if insecure {
|
if insecure {
|
||||||
opts = append(opts, otlptracegrpc.WithInsecure())
|
opts = append(opts, otlptracegrpc.WithInsecure())
|
||||||
|
|
Loading…
Reference in a new issue