Merge branch 'main' into 71-bug-redfishv1updateserviceactionssimpleupdate-gives-errors-for-openbmc

Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
This commit is contained in:
David Allen 2025-03-13 11:10:18 -06:00 committed by GitHub
commit ac4f591061
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 19 deletions

View file

@ -38,7 +38,7 @@ func UpdateFirmwareRemote(q *UpdateParams) error {
if err != nil {
return fmt.Errorf("failed to parse URI: %w", err)
}
// Connect to the Redfish service using gofish
client, err := gofish.Connect(gofish.ClientConfig{Endpoint: uri.String(), Username: q.Username, Password: q.Password, Insecure: q.Insecure})
if err != nil {
@ -64,6 +64,7 @@ func UpdateFirmwareRemote(q *UpdateParams) error {
return fmt.Errorf("firmware update failed: %w", err)
}
fmt.Println("Firmware update initiated successfully.")
return nil
}