Skip to content

Commit f0c2c50

Browse files
committed
removing flooded log
1 parent 70258a1 commit f0c2c50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/charts/parse.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ func ListPackages(ctx context.Context, repoRoot string, specificPackage string)
6060
if len(specificPackage) > 0 {
6161
packagePrefix := filepath.Join(path.RepositoryPackagesDir, specificPackage)
6262
if dirPath != packagePrefix && !strings.HasPrefix(dirPath, packagePrefix+"/") {
63-
logger.Log(ctx, slog.LevelDebug, "ignore package based on prefix", slog.String("dirPath", dirPath), slog.String("packagePrefix", packagePrefix))
6463
// Ignore packages not selected by specificPackage
6564
return nil
6665
}
@@ -77,6 +76,8 @@ func ListPackages(ctx context.Context, repoRoot string, specificPackage string)
7776
return err
7877
}
7978
packageList = append(packageList, packageName)
79+
logger.Log(ctx, slog.LevelDebug, "package list", slog.Any("packageList", packageList))
80+
8081
return nil
8182
}
8283

0 commit comments

Comments
 (0)