diff --git a/cmd/crawl.go b/cmd/crawl.go index f61ae4d..87f093b 100644 --- a/cmd/crawl.go +++ b/cmd/crawl.go @@ -11,7 +11,7 @@ import ( ) var crawlCmd = &cobra.Command{ - Use: "crawl [uri]", + Use: "crawl [uri] e.g. magellan crawl https://bmc.example.com", Short: "Crawl a single BMC for inventory information", Args: func(cmd *cobra.Command, args []string) error { // Validate that the only argument is a valid URI diff --git a/pkg/crawler/main.go b/pkg/crawler/main.go index d7869ed..00ee07f 100644 --- a/pkg/crawler/main.go +++ b/pkg/crawler/main.go @@ -72,6 +72,7 @@ func CrawlBMC(config CrawlerConfig) ([]InventoryDetail, error) { // Obtain the ServiceRoot rf_service := client.GetService() + log.Info().Msgf("found ServiceRoot %s. Redfish Version %s", rf_service.ID, rf_service.RedfishVersion) var rf_systems []*redfish.ComputerSystem