Skip to content

Commit

Permalink
Fixed k2 reference to Security Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
AnupamJuniwal committed Jun 12, 2023
1 parent 093fd3a commit 7041783
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions newrelic/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3177,7 +3177,7 @@ def _setup_agent_console():


def _setup_security_module():
"""Initiates k2 security module and adds a
"""Initiates security module and adds a
callback to agent startup to propagate NR config
"""
try:
Expand All @@ -3188,8 +3188,8 @@ def _setup_security_module():
security_agent = SecurityAgent()
# create a callback to reinitialise the security module
newrelic.core.agent.Agent.run_on_startup(security_agent.refresh_agent)
except Exception as k2error:
_logger.error("K2 Startup failed with error %s", k2error)
except Exception as csec_error:
_logger.error("Security Agent Startup failed with error %s", csec_error)


def initialize(
Expand Down

0 comments on commit 7041783

Please sign in to comment.