Skip to content

Commit

Permalink
CASMHMS-6294: Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlv committed Dec 12, 2024
1 parent 5086c69 commit d095baf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/redfish/rfclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func RfDefaultClient() *hms_certs.HTTPClientPair {
var cerr error
if httpRFClient == nil {
uri := os.Getenv("SMD_CA_URI")
// TODO: Why CreateHTTPClientPair() instead of CreateRetryableHTTPClientPair()??
httpRFClient, cerr = hms_certs.CreateHTTPClientPair(uri, httpClientTimeout)
if cerr != nil {
errlog.Printf("Can't create TLS cert-enabled HTTP transport, reverting to less secure transport.")
Expand Down

0 comments on commit d095baf

Please sign in to comment.