diff --git a/cmd/collect.go b/cmd/collect.go index 3641a55..eb4574b 100644 --- a/cmd/collect.go +++ b/cmd/collect.go @@ -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" diff --git a/cmd/root.go b/cmd/root.go index 40f7407..6571d9d 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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" ) diff --git a/cmd/update.go b/cmd/update.go index 87f2282..9613f64 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -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, }, }