mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
Fix typo
This commit is contained in:
parent
266b3df0b7
commit
ae26dac328
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ func transformToSMDFormat(inventory *pdu.PDUInventory) []map[string]any {
|
||||||
"RedfishURL": redfishURL,
|
"RedfishURL": redfishURL,
|
||||||
"ComponentEndpointType": "ComponentEndpointOutlet",
|
"ComponentEndpointType": "ComponentEndpointOutlet",
|
||||||
"RedfishOutletInfo": map[string]any{
|
"RedfishOutletInfo": map[string]any{
|
||||||
"Name": outlet.Name, // Directly from inventory
|
"Name": outlet.Name,
|
||||||
"Actions": map[string]any{
|
"Actions": map[string]any{
|
||||||
"#Outlet.PowerControl": map[string]any{
|
"#Outlet.PowerControl": map[string]any{
|
||||||
"PowerState@Redfish.AllowableValues": []string{"On", "Off"},
|
"PowerState@Redfish.AllowableValues": []string{"On", "Off"},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue