refactor: changed crawler function name

This commit is contained in:
David Allen 2024-10-15 13:52:23 -06:00
parent e1cc0bfd38
commit e31e91ec15
Signed by: towk
GPG key ID: 793B2924A49B3A3F
2 changed files with 2 additions and 2 deletions

View file

@ -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(),

View file

@ -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,