Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ymtdzzz committed Jun 24, 2024
1 parent e5ed867 commit f1434b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tuiexporter/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func createDefaultConfig() component.Config {
return &Config{}
}

func createTraces(ctx context.Context, set exporter.CreateSettings, cfg component.Config) (exporter.Traces, error) {
func createTraces(ctx context.Context, set exporter.Settings, cfg component.Config) (exporter.Traces, error) {
oCfg := cfg.(*Config)

e, err := exporters.LoadOrStore(
Expand All @@ -49,7 +49,7 @@ func createTraces(ctx context.Context, set exporter.CreateSettings, cfg componen
)
}

func createLogs(ctx context.Context, set exporter.CreateSettings, cfg component.Config) (exporter.Logs, error) {
func createLogs(ctx context.Context, set exporter.Settings, cfg component.Config) (exporter.Logs, error) {
oCfg := cfg.(*Config)

e, err := exporters.LoadOrStore(
Expand Down

0 comments on commit f1434b4

Please sign in to comment.