mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-19 19:17:02 -07:00
Updated warning message and changed SMD client to use pointer receivers
This commit is contained in:
parent
e3ef9d4276
commit
9991f02631
3 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue