Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Jan 17, 2025
1 parent 03bfffd commit d024ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/packager2/layout/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func CreateSkeleton(ctx context.Context, packagePath string, opt CreateOptions)
return buildPath, nil
}

// LoadPackage returns the package definition at the given path after flavors, imports, and variables are applied.
// LoadPackage returns a validated package definition after flavors, imports, and variables are applied.
func LoadPackage(ctx context.Context, packagePath, flavor string, setVariables map[string]string) (v1alpha1.ZarfPackage, error) {
b, err := os.ReadFile(filepath.Join(packagePath, ZarfYAML))
if err != nil {
Expand Down

0 comments on commit d024ec8

Please sign in to comment.