Skip to content

Commit

Permalink
Remove 'service.connectors' feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
djaglowski committed Jun 21, 2023
1 parent 2a1bf71 commit c33d457
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 20 deletions.
16 changes: 16 additions & 0 deletions .chloggen/rm-connectors-featuregate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: breaking

# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
component: service

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Remove 'service.connectors' featuregate

# One or more tracking issues or pull requests related to the change
issues: [7952]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
5 changes: 0 additions & 5 deletions otelcol/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"fmt"

"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/otelcol/internal/sharedgate"
"go.opentelemetry.io/collector/service"
)

Expand Down Expand Up @@ -97,10 +96,6 @@ func (cfg *Config) Validate() error {
}
}

if len(cfg.Connectors) != 0 && !sharedgate.ConnectorsFeatureGate.IsEnabled() {
return fmt.Errorf("connectors require feature gate: %s", sharedgate.ConnectorsFeatureGate.ID())
}

if err := cfg.Service.Validate(); err != nil {
return err
}
Expand Down
15 changes: 0 additions & 15 deletions otelcol/internal/sharedgate/sharedgate.go

This file was deleted.

0 comments on commit c33d457

Please sign in to comment.