mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -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
|
return nil
|
||||||
},
|
},
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
systems, err := crawler.CrawlBMC(crawler.CrawlerConfig{
|
systems, err := crawler.CrawlBMCForSystems(crawler.CrawlerConfig{
|
||||||
URI: args[0],
|
URI: args[0],
|
||||||
Username: cmd.Flag("username").Value.String(),
|
Username: cmd.Flag("username").Value.String(),
|
||||||
Password: cmd.Flag("password").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)
|
t.Fatalf("failed while waiting for emulator: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
systems, err := crawler.CrawlBMC(
|
systems, err := crawler.CrawlBMCForSystems(
|
||||||
crawler.CrawlerConfig{
|
crawler.CrawlerConfig{
|
||||||
URI: *host,
|
URI: *host,
|
||||||
Username: *username,
|
Username: *username,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue