mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-19 19:17:02 -07:00
refactor: changed crawler function name
This commit is contained in:
parent
e1cc0bfd38
commit
e31e91ec15
2 changed files with 2 additions and 2 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue