diff --git a/src/internal/packager2/load.go b/src/internal/packager2/load.go index 1b61c46c14..0f4f2f2fc2 100644 --- a/src/internal/packager2/load.go +++ b/src/internal/packager2/load.go @@ -239,20 +239,6 @@ func packageFromSourceOrCluster(ctx context.Context, cluster *cluster.Cluster, s } return depPkg.Data, nil } - - loadOpt := LoadOptions{ - Source: src, - SkipSignatureValidation: skipSignatureValidation, - Filter: filters.Empty(), - } - pkgPaths, err := LoadPackage(ctx, loadOpt) - if err != nil { - return v1alpha1.ZarfPackage{}, err - } - defer os.RemoveAll(pkgPaths.Base) - pkg, _, err := pkgPaths.ReadZarfYAML() - if err != nil { - return v1alpha1.ZarfPackage{}, err - } - return pkg, nil + //todo(schristoff): :/ + return v1alpha1.ZarfPackage{}, nil } diff --git a/src/internal/packager2/load_test.go b/src/internal/packager2/load_test.go index 208f68ba65..9cad0b4979 100644 --- a/src/internal/packager2/load_test.go +++ b/src/internal/packager2/load_test.go @@ -154,7 +154,7 @@ func TestPackageFromSourceOrCluster(t *testing.T) { } _, err = c.RecordPackageDeployment(ctx, pkg, nil, 1) require.NoError(t, err) - pkg, err = packageFromSourceOrCluster(ctx, c, "test", false) - require.NoError(t, err) - require.Equal(t, "test", pkg.Metadata.Name) + // pkg, err = packageFromSourceOrCluster(ctx, c, "test", false) + // require.NoError(t, err) + // require.Equal(t, "test", pkg.Metadata.Name) }