Skip to content

Commit

Permalink
Update common/config/environment.go
Browse files Browse the repository at this point in the history
Co-authored-by: pducolin <[email protected]>
  • Loading branch information
vickenty and pducolin authored Dec 19, 2024
1 parent 51cd5b6 commit 24bf170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/config/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 24bf170

Please sign in to comment.