Skip to content

Commit

Permalink
normal.go to main
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Aug 27, 2024
1 parent 6fb8427 commit 0e5dfd4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/pkg/packager/creator/normal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand All @@ -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)
}
Expand Down

0 comments on commit 0e5dfd4

Please sign in to comment.