Skip to content

Commit

Permalink
Update opamp_agent.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 committed Sep 17, 2024
1 parent dfe9f87 commit 844457a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/extension/opampextension/opamp_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ func (o *opampAgent) onMessage(ctx context.Context, msg *types.MessageData) {
var err error
configChanged, err = o.applyRemoteConfig(msg.RemoteConfig)
if err == nil {
err = errors.New("Simulated error-test")
err = fmt.Errorf("Simulated test error")
o.logger.Error("Failed to apply OpAMP agent remote config", zap.Error(err))
err = o.opampClient.SetRemoteConfigStatus(&protobufs.RemoteConfigStatus{
LastRemoteConfigHash: msg.RemoteConfig.ConfigHash,
Expand Down

0 comments on commit 844457a

Please sign in to comment.