From d024ec816792df53c839a5345aeccd27be11dbd4 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Fri, 17 Jan 2025 21:09:45 +0000 Subject: [PATCH] comment Signed-off-by: Austin Abro --- src/internal/packager2/layout/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/packager2/layout/create.go b/src/internal/packager2/layout/create.go index ffccd258aa..80a813b1b2 100644 --- a/src/internal/packager2/layout/create.go +++ b/src/internal/packager2/layout/create.go @@ -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 {