Minor changes to fix lint errors

This commit is contained in:
David Allen 2024-08-13 10:41:06 -06:00
parent 128f9ad42d
commit 81ec43a923
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
11 changed files with 90 additions and 78 deletions

View file

@ -11,6 +11,7 @@ import (
"testing"
magellan "github.com/OpenCHAMI/magellan/internal"
"github.com/rs/zerolog/log"
)
var (
@ -43,7 +44,10 @@ func TestScanAndCollect(t *testing.T) {
}
// do a collect on the emulator cluster to collect Redfish info
magellan.CollectInventory(&results, &magellan.CollectParams{})
err := magellan.CollectInventory(&results, &magellan.CollectParams{})
if err != nil {
log.Error().Err(err).Msg("failed to collect inventory")
}
}
func TestCrawlCommand(t *testing.T) {