Skip to content

Commit

Permalink
dont need to store effective config value
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaasman00 committed Dec 10, 2024
1 parent a617b26 commit 9d07203
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/opampsupervisor/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,6 @@ func (s *Supervisor) startAgent() (agentStartStatus, error) {
// Don't start the agent if there is no config to run
s.logger.Info("No config present, not starting agent.")
// need to manually trigger updating effective config
s.effectiveConfig.Store(s.cfgState.Load().(*configState).mergedConfig)
err := s.opampClient.UpdateEffectiveConfig(context.Background())
if err != nil {
s.logger.Error("The OpAMP client failed to update the effective config", zap.Error(err))
Expand Down

0 comments on commit 9d07203

Please sign in to comment.