diff --git a/cmd/crawl.go b/cmd/crawl.go index 8069c9b..2611ed3 100644 --- a/cmd/crawl.go +++ b/cmd/crawl.go @@ -35,7 +35,7 @@ var crawlCmd = &cobra.Command{ return nil }, Run: func(cmd *cobra.Command, args []string) { - systems, err := crawler.CrawlBMC(crawler.CrawlerConfig{ + systems, err := crawler.CrawlBMCForSystems(crawler.CrawlerConfig{ URI: args[0], Username: cmd.Flag("username").Value.String(), Password: cmd.Flag("password").Value.String(), diff --git a/tests/compatibility_test.go b/tests/compatibility_test.go index 03917ec..ce2e876 100644 --- a/tests/compatibility_test.go +++ b/tests/compatibility_test.go @@ -126,7 +126,7 @@ func TestExpectedOutput(t *testing.T) { t.Fatalf("failed while waiting for emulator: %v", err) } - systems, err := crawler.CrawlBMC( + systems, err := crawler.CrawlBMCForSystems( crawler.CrawlerConfig{ URI: *host, Username: *username,