Skip to content

Commit

Permalink
Merge pull request #924 from mirackara/apprunbugfix
Browse files Browse the repository at this point in the history
Typo fix in app run
  • Loading branch information
nr-swilloughby authored Jul 2, 2024
2 parents 3ed8bf7 + 41772f2 commit d6a66f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3/newrelic/app_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func newAppRun(config config, reply *internal.ConnectReply) *appRun {
if v := run.Reply.ServerSideConfig.ErrorCollectorExpectStatusCodes; v != nil {
run.Config.ErrorCollector.ExpectStatusCodes = v
}
if run.Config.ErrorCollector.IgnoreStatusCodes != nil {
if run.Config.ErrorCollector.ExpectStatusCodes != nil {
run.mu.Lock()
for _, errorCode := range run.Config.ErrorCollector.ExpectStatusCodes {
run.expectErrorCodesCache[errorCode] = true
Expand Down

0 comments on commit d6a66f3

Please sign in to comment.