Skip to content

Commit

Permalink
Update opamp_agent.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 authored Oct 17, 2024
1 parent be003c7 commit 3c1007b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/extension/opampextension/opamp_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,9 @@ func (o *opampAgent) applyRemoteConfig(config *protobufs.AgentRemoteConfig) (con
if err != nil {
return false, fmt.Errorf("cannot parse config named %s: %v", n, err)
}

fb, err := k.Marshal(yaml.Parser())
o.logger.Info("Agent config yaml", zap.String("config", string(fb)))


if err != nil {
return false, fmt.Errorf("cannot marshal config named %s: %v", n, err)
}
Expand Down

0 comments on commit 3c1007b

Please sign in to comment.