Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 committed Dec 4, 2024
1 parent ae41459 commit 8b23a2c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/extension/opampextension/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type Config struct {
AcceptsRemoteConfiguration bool `mapstructure:"accepts_remote_configuration"`

// Flag to toggle new config merge flow introduced for collector tag edit feature
NewConfigMergeFlowEnabled bool `mapstructure:"new_configmergeflow_enabled"`
NewConfigMergeFlowDisabled bool `mapstructure:"new_configmergeflow_disabled"`
}

// CreateDefaultClientConfig returns default http client settings
Expand Down
1 change: 0 additions & 1 deletion pkg/extension/opampextension/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func createDefaultConfig() component.Config {
return &Config{
ClientConfig: CreateDefaultClientConfig(),
AcceptsRemoteConfiguration: true,
NewConfigMergeFlowEnabled: true,
}
}

Expand Down
4 changes: 0 additions & 4 deletions pkg/extension/opampextension/opamp_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@ func (o *opampAgent) startClient(ctx context.Context) error {

o.logger.Debug("Starting OpAMP client...")

if !o.cfg.NewConfigMergeFlowEnabled {
o.logger.Info("New config merge flow disabled..")
}

if err := o.opampClient.Start(ctx, settings); err != nil {
return err
}
Expand Down

0 comments on commit 8b23a2c

Please sign in to comment.