Fixed imports and removed unused query params

This commit is contained in:
David Allen 2024-07-24 10:24:12 -06:00
parent f498d07aa2
commit d73575ab05
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
3 changed files with 8 additions and 10 deletions

View file

@ -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"

View file

@ -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"
)

View file

@ -36,8 +36,6 @@ var updateCmd = &cobra.Command{
Component: component,
TransferProtocol: transferProtocol,
QueryParams: magellan.QueryParams{
Drivers: []string{"redfish"},
Preferred: "redfish",
Protocol: protocol,
Host: host,
Username: username,