Skip to content

Commit

Permalink
fix: Init agent library (#1230)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmmcgivern authored Oct 4, 2024
1 parent 9c6fced commit f1541ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions newrelic/newrelic.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ import (
// NewRelic is a collection of New Relic APIs.
type NewRelic struct {
AccountManagement accountmanagement.Accountmanagement
AgentApplications agentapplications.AgentApplications
Agent agent.Agent
Accounts accounts.Accounts
Agent agent.Agent
AgentApplications agentapplications.AgentApplications
Alerts alerts.Alerts
APIAccess apiaccess.APIAccess
APM apm.APM
Expand Down Expand Up @@ -91,8 +91,9 @@ func New(opts ...ConfigOption) (*NewRelic, error) {
config: cfg,

AccountManagement: accountmanagement.New(cfg),
AgentApplications: agentapplications.New(cfg),
Accounts: accounts.New(cfg),
Agent: agent.New(cfg),
AgentApplications: agentapplications.New(cfg),
Alerts: alerts.New(cfg),
APIAccess: apiaccess.New(cfg),
APM: apm.New(cfg),
Expand Down

0 comments on commit f1541ab

Please sign in to comment.