Remove https from RedfishEndpoints post

This commit is contained in:
Ben McDonald 2025-05-27 15:27:55 -07:00 committed by Ben McDonald
parent de102ecc97
commit bff549bcfa
No known key found for this signature in database

View file

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