Skip to content

Commit

Permalink
🐛 Check for config proxy settings (#702)
Browse files Browse the repository at this point in the history
Signed-off-by: Emily McMullan <[email protected]>
  • Loading branch information
eemcmullan authored Sep 30, 2024
1 parent 3285583 commit 8f5ccf7
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 8f5ccf7

Please sign in to comment.