Merge pull request #82 from OpenCHAMI/fix-imports

Update goimports in update.go
This commit is contained in:
David Allen 2025-03-13 11:33:48 -06:00 committed by GitHub
commit 48a53f6d5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,9 +6,6 @@ import (
"github.com/stmcginnis/gofish"
"github.com/stmcginnis/gofish/redfish"
"github.com/stmcginnis/gofish"
"github.com/stmcginnis/gofish/redfish"
)
type UpdateParams struct {
@ -38,7 +35,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 {