From c5ee0c6a4c4ebe5a2f5edb30dc84668116ccc83c Mon Sep 17 00:00:00 2001 From: David Allen Date: Thu, 13 Mar 2025 11:32:47 -0600 Subject: [PATCH] fix: update goimports in update.go --- pkg/update.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/update.go b/pkg/update.go index d57d5da..5f3e3e9 100644 --- a/pkg/update.go +++ b/pkg/update.go @@ -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 {