Skip to content

Commit

Permalink
[chore] fix the class field of metadata.yaml files (#12379)
Browse files Browse the repository at this point in the history
Some of the metadata.yaml files contain invalid class field, this PR
fixes them.
  • Loading branch information
atoulme authored Feb 16, 2025
1 parent f9562a0 commit 41f3e69
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion connector/xconnector/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type: xconnector
github_project: open-telemetry/opentelemetry-collector

status:
class: connector
class: pkg
codeowners:
active:
- mx-psi
Expand Down
2 changes: 1 addition & 1 deletion exporter/exporterhelper/xexporterhelper/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type: xexporterhelper
github_project: open-telemetry/opentelemetry-collector

status:
class: exporter
class: pkg
codeowners:
active:
- mx-psi
Expand Down
2 changes: 1 addition & 1 deletion exporter/xexporter/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type: xexporter
github_project: open-telemetry/opentelemetry-collector

status:
class: exporter
class: pkg
codeowners:
active:
- mx-psi
Expand Down
3 changes: 1 addition & 2 deletions processor/processorhelper/logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ func TestLogs_RecordIn_ErrorOut(t *testing.T) {
}

func newSettings(tel *componenttest.Telemetry) processor.Settings {
set := processortest.NewNopSettings()
set.ID = component.NewID(component.MustNewType("processorhelper"))
set := processortest.NewNopSettingsWithType(component.MustNewType("processorhelper"))
set.TelemetrySettings = tel.NewTelemetrySettings()
return set
}
2 changes: 1 addition & 1 deletion processor/xprocessor/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type: xprocessor
github_project: open-telemetry/opentelemetry-collector

status:
class: processor
class: pkg
codeowners:
active:
- mx-psi
Expand Down
2 changes: 1 addition & 1 deletion receiver/xreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type: xreceiver
github_project: open-telemetry/opentelemetry-collector

status:
class: receiver
class: pkg
codeowners:
active:
- mx-psi
Expand Down

0 comments on commit 41f3e69

Please sign in to comment.