diff --git a/cmd/collect.go b/cmd/collect.go index f8ff1de..0846ff5 100644 --- a/cmd/collect.go +++ b/cmd/collect.go @@ -7,6 +7,7 @@ import ( urlx "github.com/OpenCHAMI/magellan/internal/url" magellan "github.com/OpenCHAMI/magellan/pkg" "github.com/OpenCHAMI/magellan/pkg/auth" + "github.com/OpenCHAMI/magellan/pkg/secrets" "github.com/cznic/mathutil" "github.com/davidallendj/magellan/internal/cache/sqlite" urlx "github.com/davidallendj/magellan/internal/urlx" diff --git a/pkg/collect.go b/pkg/collect.go index 9f459a6..b2ebdf6 100644 --- a/pkg/collect.go +++ b/pkg/collect.go @@ -51,7 +51,7 @@ type CollectParams struct { // // Requests can be made to several of the nodes using a goroutine by setting the q.Concurrency // property value between 1 and 10000. -func CollectInventory(assets *[]RemoteAsset, params *CollectParams) ([]map[string]any, error) { +func CollectInventory(assets *[]RemoteAsset, params *CollectParams, store secrets.SecretStore) ([]map[string]any, error) { // check for available remote assets found from scan if assets == nil { return nil, fmt.Errorf("no assets found")