Updated warning message and changed SMD client to use pointer receivers

This commit is contained in:
David Allen 2024-08-27 15:55:16 -06:00
parent e3ef9d4276
commit 9991f02631
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
3 changed files with 10 additions and 10 deletions

View file

@ -59,7 +59,7 @@ func CollectInventory(assets *[]RemoteAsset, params *CollectParams) error {
chanAssets = make(chan RemoteAsset, params.Concurrency+1)
outputPath = path.Clean(params.OutputPath)
smdClient = client.NewClient(
client.WithSecureTLS[client.SmdClient](params.CaCertPath),
client.WithSecureTLS[*client.SmdClient](params.CaCertPath),
)
)
// set the client's host from the CLI param