Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New config for nrsecurityagent #984

Merged
merged 17 commits into from
Nov 8, 2024
Merged

Conversation

aayush-ap
Copy link
Contributor

Added a new config to support the new feature release in CSEC Agent Release v1.5.0

Copy link
Contributor

@nr-swilloughby nr-swilloughby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one quick question, otherwise it looks good.

@@ -63,7 +69,7 @@ func InitSecurityAgent(app *newrelic.Application, opts ...ConfigOption) error {

appConfig, isValid := app.Config()
if !isValid {
return fmt.Errorf("Newrelic application value cannot be read; did you call newrelic.NewApplication?")
return fmt.Errorf("Newrelic application value cannot be read; did you call newrelic.NewApplication?")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that a typo or do you intend the extra space to be added to the error string?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes extra space is typo.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok we can fix it on release.

@nr-swilloughby nr-swilloughby merged commit b8458f1 into newrelic:develop Nov 8, 2024
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants