Skip to content

Conversation

alexander-petkov-SAP
Copy link
Contributor

Description

Checklist

  • Tests
  • Documentation
  • Inner source library needs updating

@alexander-petkov-SAP alexander-petkov-SAP requested a review from a team as a code owner July 29, 2025 05:16
@alexander-petkov-SAP alexander-petkov-SAP requested review from srinikitha09 and CCFenner and removed request for srinikitha09 July 29, 2025 05:17
@@ -98,12 +98,12 @@ func sonarExecuteScan(config sonarExecuteScanOptions, _ *telemetry.CustomData, i
javaToolOptions := fmt.Sprintf("-Dhttp.proxyHost=%v -Dhttp.proxyPort=%v", host, port)
os.Setenv("JAVA_TOOL_OPTIONS", javaToolOptions)

apiClient.SetOptions(piperhttp.ClientOptions{TransportProxy: transportProxy, TransportSkipVerification: true})
//apiClient.SetOptions(piperhttp.ClientOptions{TransportProxy: transportProxy, TransportSkipVerification: true})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just remove the unused code ?

Copy link

log.Entry().Infof("HTTP client instructed to use %v proxy", proxy)

} else {
//TODO: implement certificate handling
apiClient.SetOptions(piperhttp.ClientOptions{TransportSkipVerification: true})
//apiClient.SetOptions(piperhttp.ClientOptions{TransportSkipVerification: true})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove the else block?

@manjunathSurendrakumar
Copy link
Member

@alexander-petkov-SAP Could you please check the comments ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants