mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
Fixed imports and removed unused query params
This commit is contained in:
parent
f498d07aa2
commit
d73575ab05
3 changed files with 8 additions and 10 deletions
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"os/user"
|
"os/user"
|
||||||
|
|
||||||
magellan "github.com/OpenCHAMI/magellan/internal"
|
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/db/sqlite"
|
||||||
"github.com/OpenCHAMI/magellan/internal/log"
|
"github.com/OpenCHAMI/magellan/internal/log"
|
||||||
|
"github.com/OpenCHAMI/magellan/pkg/smd"
|
||||||
"github.com/cznic/mathutil"
|
"github.com/cznic/mathutil"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ import (
|
||||||
"os/user"
|
"os/user"
|
||||||
|
|
||||||
magellan "github.com/OpenCHAMI/magellan/internal"
|
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/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,6 @@ var updateCmd = &cobra.Command{
|
||||||
Component: component,
|
Component: component,
|
||||||
TransferProtocol: transferProtocol,
|
TransferProtocol: transferProtocol,
|
||||||
QueryParams: magellan.QueryParams{
|
QueryParams: magellan.QueryParams{
|
||||||
Drivers: []string{"redfish"},
|
|
||||||
Preferred: "redfish",
|
|
||||||
Protocol: protocol,
|
Protocol: protocol,
|
||||||
Host: host,
|
Host: host,
|
||||||
Username: username,
|
Username: username,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue