lint: apply changes from golint

This commit is contained in:
David Allen 2025-03-25 14:54:09 -06:00
parent 0c53fa7495
commit 667fd39213
Signed by: towk
GPG key ID: 0430CDBE22619155
3 changed files with 4 additions and 4 deletions

View file

@ -81,7 +81,7 @@ func CollectInventory(assets *[]RemoteAsset, params *CollectParams, localStore s
}
certPool := x509.NewCertPool()
certPool.AppendCertsFromPEM(cacert)
smdClient.Client.Transport = &http.Transport{
smdClient.Transport = &http.Transport{
TLSClientConfig: &tls.Config{
RootCAs: certPool,
InsecureSkipVerify: true,