collect: return collection output from CollectInventory()

This commit is contained in:
David Allen 2025-02-26 16:18:42 -07:00
parent 2b1277690b
commit 555990c6b6
Signed by: towk
GPG key ID: 793B2924A49B3A3F
3 changed files with 12 additions and 12 deletions

View file

@ -55,7 +55,7 @@ var CollectCmd = &cobra.Command{
if concurrency <= 0 {
concurrency = mathutil.Clamp(len(scannedResults), 1, 10000)
}
err = magellan.CollectInventory(&scannedResults, &magellan.CollectParams{
_, err = magellan.CollectInventory(&scannedResults, &magellan.CollectParams{
URI: host,
Username: username,
Password: password,