[component] Remove incorrect comment on Factory interface (#11017)

#### Description
Removes an incorrect comment from the `component.Factory interface`.

This comment was added via
https://github.com/open-telemetry/opentelemetry-collector/pull/4338 when
the extension/receiver/processor/exporter factory types all still [lived
in](b4be13e749/component/exporter.go (L61))
`component`. Since the factories have been moved to other modules,
`component.Factory` needs to be implementable.

The specific extension/receiver/processor/exporter factory types are
unimplementable since they are defined in internal packages.

<!-- Issue number if applicable -->
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/6506
This commit is contained in:
Tyler Helmuth 2024-08-30 08:42:47 -06:00 committed by GitHub
parent c4e527e7e8
commit 6b57a75ad4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -165,9 +165,6 @@ func (sl StabilityLevel) LogMessage() string {
}
// Factory is implemented by all Component factories.
//
// This interface cannot be directly implemented. Implementations must
// use the factory helpers for the appropriate component type.
type Factory interface {
// Type gets the type of the component created by this factory.
Type() Type