mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Minor changes to fix lint errors
This commit is contained in:
parent
128f9ad42d
commit
81ec43a923
11 changed files with 90 additions and 78 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue