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 Sep 20, 2024
1 parent 46c3e56 commit e01d6ad
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 @@ -510,7 +510,7 @@ extensions:
if err != nil {
return false, fmt.Errorf("cannot parse config named %s: %v", n, err)
}
k.Set("receivers.nop", nil)
k.Set("receivers.nop", map[string]interface{}{})
fb, err := k.Marshal(yaml.Parser())
o.logger.Info("Agent config yaml", zap.String("config", string(fb)))

Expand Down

0 comments on commit e01d6ad

Please sign in to comment.