Skip to content

Commit

Permalink
Fixed imports and removed unused query params
Browse files Browse the repository at this point in the history
  • Loading branch information
davidallendj committed Jul 24, 2024
1 parent f498d07 commit d73575a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmd/collect.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"os/user"

magellan "github.com/OpenCHAMI/magellan/internal"
"github.com/OpenCHAMI/magellan/internal/api/smd"
"github.com/OpenCHAMI/magellan/internal/db/sqlite"
"github.com/OpenCHAMI/magellan/internal/log"
"github.com/OpenCHAMI/magellan/pkg/smd"
"github.com/cznic/mathutil"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os/user"

magellan "github.com/OpenCHAMI/magellan/internal"
"github.com/OpenCHAMI/magellan/internal/api/smd"
"github.com/OpenCHAMI/magellan/pkg/smd"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
14 changes: 6 additions & 8 deletions cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ var updateCmd = &cobra.Command{
Component: component,
TransferProtocol: transferProtocol,
QueryParams: magellan.QueryParams{
Drivers: []string{"redfish"},
Preferred: "redfish",
Protocol: protocol,
Host: host,
Username: username,
Password: password,
Timeout: timeout,
Port: port,
Protocol: protocol,
Host: host,
Username: username,
Password: password,
Timeout: timeout,
Port: port,
},
}

Expand Down

0 comments on commit d73575a

Please sign in to comment.