Merge pull request #98 from bmcdonald3/remove-https

Remove https from RedfishEndpoints post
This commit is contained in:
David Allen 2025-05-28 10:58:11 -06:00 committed by GitHub
commit fba4a89a0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,7 +156,7 @@ func CollectInventory(assets *[]RemoteAsset, params *CollectParams) ([]map[strin
"ID": fmt.Sprintf("%v", node.String()[:len(node.String())-2]), "ID": fmt.Sprintf("%v", node.String()[:len(node.String())-2]),
"Type": "", "Type": "",
"Name": "", "Name": "",
"FQDN": sr.Host, "FQDN": strings.TrimPrefix(sr.Host, "https://"),
"User": bmcCreds.Username, "User": bmcCreds.Username,
"MACRequired": true, "MACRequired": true,
"RediscoverOnUpdate": false, "RediscoverOnUpdate": false,