diff --git a/cmd/collect.go b/cmd/collect.go index f73de24..f8ff1de 100644 --- a/cmd/collect.go +++ b/cmd/collect.go @@ -3,6 +3,10 @@ package cmd import ( "encoding/json" + "github.com/OpenCHAMI/magellan/internal/cache/sqlite" + urlx "github.com/OpenCHAMI/magellan/internal/url" + magellan "github.com/OpenCHAMI/magellan/pkg" + "github.com/OpenCHAMI/magellan/pkg/auth" "github.com/cznic/mathutil" "github.com/davidallendj/magellan/internal/cache/sqlite" urlx "github.com/davidallendj/magellan/internal/urlx" diff --git a/cmd/update.go b/cmd/update.go index c537471..b1ab21a 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -131,5 +131,5 @@ func init() { checkBindFlagError(viper.BindPFlag("update.firmware-uri", UpdateCmd.Flags().Lookup("firmware-uri"))) checkBindFlagError(viper.BindPFlag("update.status", UpdateCmd.Flags().Lookup("status"))) - rootCmd.AddCommand(UpdateCmd) + rootCmd.AddCommand(updateCmd) }