mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Changed saving host to include scheme for collect
This commit is contained in:
parent
7285492815
commit
dc07b5396b
2 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ func ScanForAssets(params *ScanParams) []RemoteAsset {
|
|||
if !params.DisableProbing {
|
||||
assetsToAdd := []RemoteAsset{}
|
||||
for _, foundAsset := range foundAssets {
|
||||
url := fmt.Sprintf("%s://%s:%d/redfish/v1/", params.Scheme, foundAsset.Host, foundAsset.Port)
|
||||
url := fmt.Sprintf("%s:%d/redfish/v1/", foundAsset.Host, foundAsset.Port)
|
||||
res, _, err := client.MakeRequest(nil, url, http.MethodGet, nil, nil)
|
||||
if err != nil || res == nil {
|
||||
if params.Verbose {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue