Skip to content

Commit

Permalink
check for config proxy settings
Browse files Browse the repository at this point in the history
Signed-off-by: Emily McMullan <[email protected]>
  • Loading branch information
eemcmullan committed Sep 26, 2024
1 parent 3285583 commit 7faf066
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,11 @@ func (p *javaProvider) Init(ctx context.Context, log logr.Logger, config provide
additionalBuiltinConfig.Location = config.Location
additionalBuiltinConfig.DependencyPath = config.DependencyPath

// handle proxy settings
for k, v := range config.Proxy.ToEnvVars() {
os.Setenv(k, v)
if config.Proxy != nil {
// handle proxy settings
for k, v := range config.Proxy.ToEnvVars() {
os.Setenv(k, v)
}
}

args := []string{
Expand Down

0 comments on commit 7faf066

Please sign in to comment.