From 24bf170f28a36deca72cf94a4b9fdf2404c2673b Mon Sep 17 00:00:00 2001 From: Vickenty Fesunov Date: Thu, 19 Dec 2024 12:50:35 +0100 Subject: [PATCH] Update common/config/environment.go Co-authored-by: pducolin <45568537+pducolin@users.noreply.github.com> --- common/config/environment.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/config/environment.go b/common/config/environment.go index 99eef08e0..e221def8c 100644 --- a/common/config/environment.go +++ b/common/config/environment.go @@ -433,10 +433,10 @@ func (e *CommonEnvironment) GetIntWithDefault(config *sdkconfig.Config, paramNam return defaultValue } -func (e *CommonEnvironment) GetFIPS() bool { - return e.GetBoolWithDefault(e.AgentConfig, DDAgentJMX, false) +func (e *CommonEnvironment) AgentFIPS() bool { + return e.GetBoolWithDefault(e.AgentConfig, DDAgentFIPS, false) } -func (e *CommonEnvironment) GetJMX() bool { - return e.GetBoolWithDefault(e.AgentConfig, DDAgentFIPS, false) +func (e *CommonEnvironment) AgentJMX() bool { + return e.GetBoolWithDefault(e.AgentConfig, DDAgentJMX, false) }