Skip to content

Commit 4e3a6f3

Browse files
committed
update otel deps from v0.125.0 to v0.126.0
1 parent 6b02202 commit 4e3a6f3

File tree

6 files changed

+495
-483
lines changed

6 files changed

+495
-483
lines changed

go.mod

Lines changed: 152 additions & 150 deletions
Large diffs are not rendered by default.

go.sum

Lines changed: 332 additions & 322 deletions
Large diffs are not rendered by default.

internal/component/otelcol/config_grpc.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ func (args *GRPCServerArguments) Convert() (*otelconfiggrpc.ServerConfig, error)
4444
}
4545

4646
// If auth is set add that to the config.
47-
var authentication *otelconfigauth.Authentication
47+
var authentication *otelconfigauth.Config
4848
if args.Authentication != nil {
4949
// If a auth plugin does not implement server auth, an error will be returned here.
5050
serverExtension, err := args.Authentication.GetExtension(auth.Server)
5151
if err != nil {
5252
return nil, err
5353
}
54-
authentication = &otelconfigauth.Authentication{
54+
authentication = &otelconfigauth.Config{
5555
AuthenticatorID: serverExtension.ID,
5656
}
5757
}
@@ -187,14 +187,14 @@ func (args *GRPCClientArguments) Convert() (*otelconfiggrpc.ClientConfig, error)
187187
}
188188

189189
// Configure authentication if args.Auth is set.
190-
var authentication *otelconfigauth.Authentication
190+
var authentication *otelconfigauth.Config
191191
if args.Authentication != nil {
192192
ext, err := args.Authentication.GetExtension(auth.Client)
193193
if err != nil {
194194
return nil, err
195195
}
196196

197-
authentication = &otelconfigauth.Authentication{AuthenticatorID: ext.ID}
197+
authentication = &otelconfigauth.Config{AuthenticatorID: ext.ID}
198198
}
199199

200200
// Set default value for `balancer_name` to sync up with upstream's

internal/component/otelcol/config_http.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (args *HTTPServerArguments) Convert() (*otelconfighttp.ServerConfig, error)
5656
}
5757

5858
authentication = &otelconfighttp.AuthConfig{
59-
Authentication: otelconfigauth.Authentication{
59+
Config: otelconfigauth.Config{
6060
AuthenticatorID: ext.ID,
6161
},
6262
}
@@ -149,13 +149,13 @@ func (args *HTTPClientArguments) Convert() (*otelconfighttp.ClientConfig, error)
149149
}
150150

151151
// Configure the authentication if args.Auth is set.
152-
var authentication *otelconfigauth.Authentication
152+
var authentication *otelconfigauth.Config
153153
if args.Authentication != nil {
154154
ext, err := args.Authentication.GetExtension(auth.Client)
155155
if err != nil {
156156
return nil, err
157157
}
158-
authentication = &otelconfigauth.Authentication{AuthenticatorID: ext.ID}
158+
authentication = &otelconfigauth.Config{AuthenticatorID: ext.ID}
159159
}
160160

161161
opaqueHeaders := make(map[string]configopaque.String)

internal/component/otelcol/exporter/loadbalancing/loadbalancing.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,14 +412,14 @@ func (args *GRPCClientArguments) Convert() (*otelconfiggrpc.ClientConfig, error)
412412
}
413413

414414
// Configure the authentication if args.Auth is set.
415-
var authentication *otelconfigauth.Authentication
415+
var authentication *otelconfigauth.Config
416416
if args.Authentication != nil {
417417
ext, err := args.Authentication.GetExtension(auth.Client)
418418
if err != nil {
419419
return nil, err
420420
}
421421

422-
authentication = &otelconfigauth.Authentication{AuthenticatorID: ext.ID}
422+
authentication = &otelconfigauth.Config{AuthenticatorID: ext.ID}
423423
}
424424

425425
balancerName := args.BalancerName

internal/component/otelcol/exporter/splunkhec/splunkhec_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func TestConfigConversion(t *testing.T) {
4141
WriteBufferSize: 0,
4242
Timeout: 10000000000,
4343
Headers: map[string]configopaque.String(nil),
44-
Auth: (*configauth.Authentication)(nil),
44+
Auth: (*configauth.Config)(nil),
4545
Compression: "",
4646
MaxIdleConns: 100,
4747
MaxIdleConnsPerHost: 0,
@@ -131,7 +131,7 @@ func TestConfigConversion(t *testing.T) {
131131
WriteBufferSize: 0,
132132
Timeout: 15000000000,
133133
Headers: map[string]configopaque.String(nil),
134-
Auth: (*configauth.Authentication)(nil),
134+
Auth: (*configauth.Config)(nil),
135135
Compression: "",
136136
MaxIdleConns: 100,
137137
MaxIdleConnsPerHost: 0,

0 commit comments

Comments
 (0)