Skip to content

Commit

Permalink
Set windows proxy settings if passed as linux true/false
Browse files Browse the repository at this point in the history
  • Loading branch information
redhatrises committed Jul 23, 2024
1 parent ecc8642 commit bea0f84
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ func (fi FalconInstaller) osArgHandler(arg, val string) string {

switch fi.OS {
case "windows":
if fi.SensorConfig.APD == "true" {
val = "1"
} else if fi.SensorConfig.APD == "false" {
val = "0"
}

return fmt.Sprintf("%s=%s", windowsFalconMap[arg], val)
default:
return fmt.Sprintf("--%s=%s", arg, val)
Expand Down

0 comments on commit bea0f84

Please sign in to comment.