From 0e5dfd4bd164a19f93c4ac569ea0a99e5e2d90a6 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Tue, 27 Aug 2024 18:10:41 +0000 Subject: [PATCH] normal.go to main Signed-off-by: Austin Abro --- src/pkg/packager/creator/normal.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/pkg/packager/creator/normal.go b/src/pkg/packager/creator/normal.go index 891fc48ca0..847a22003e 100644 --- a/src/pkg/packager/creator/normal.go +++ b/src/pkg/packager/creator/normal.go @@ -77,8 +77,6 @@ func (pc *PackageCreator) LoadPackageDefinition(ctx context.Context, src *layout } warnings = append(warnings, composeWarnings...) - fmt.Println("pkg with health checks: ", pkg) - // After components are composed, template the active package. pkg, templateWarnings, err := FillActiveTemplate(pkg, pc.createOpts.SetVariables) if err != nil { @@ -239,7 +237,6 @@ func (pc *PackageCreator) Assemble(ctx context.Context, dst *layout.PackagePaths // - writes the Zarf package as a tarball to a local directory, // or an OCI registry based on the --output flag func (pc *PackageCreator) Output(ctx context.Context, dst *layout.PackagePaths, pkg *v1alpha1.ZarfPackage) (err error) { - fmt.Println("we are in output") // Process the component directories into compressed tarballs // NOTE: This is purposefully being done after the SBOM cataloging for _, component := range pkg.Components { @@ -259,12 +256,6 @@ func (pc *PackageCreator) Output(ctx context.Context, dst *layout.PackagePaths, return err } - for _, v := range pkg.Components { - for _, x := range v.HealthChecks { - fmt.Print("this is health check: ", x) - } - } - if err := utils.WriteYaml(dst.ZarfYAML, pkg, helpers.ReadUser); err != nil { return fmt.Errorf("unable to write zarf.yaml: %w", err) }