-
Notifications
You must be signed in to change notification settings - Fork 298
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
Conversation
There was a problem hiding this 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?") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Added a new config to support the new feature release in CSEC Agent Release v1.5.0