From f9b56fdc54ea850f0c977e11aa0560de74877ace Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Thu, 20 Feb 2025 17:09:21 -0700 Subject: [PATCH] refactor: moved internal functions to pkg and updated refs --- cmd/collect.go | 4 ++++ cmd/update.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/collect.go b/cmd/collect.go index abd3c49..37b296a 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/url" diff --git a/cmd/update.go b/cmd/update.go index 4b3475c..ed9f7c5 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -133,5 +133,5 @@ func init() { checkBindFlagError(viper.BindPFlag("update.status", updateCmd.Flags().Lookup("status"))) checkBindFlagError(viper.BindPFlag("update.insecure", updateCmd.Flags().Lookup("insecure"))) - rootCmd.AddCommand(UpdateCmd) + rootCmd.AddCommand(updateCmd) }