diff --git a/pkg/action/install.go b/pkg/action/install.go index e040c15e4..f81f65749 100644 --- a/pkg/action/install.go +++ b/pkg/action/install.go @@ -751,10 +751,10 @@ func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) ( version := strings.TrimSpace(c.Version) if _, err := os.Stat(name); err == nil { - // Issue #7862: Helm prioritizes local charts over --repo flag. + // Issue #7862: Helm prioritizes local charts over repository URL. // This behavior is maintained for backwards compatibility but with a warning. if c.RepoURL != "" { - slog.Warn("local chart found in current working directory. --repo flag ignored", "chart", name) + slog.Warn("local chart found in current working directory. repository url ignored", "chart", name, "repository", c.RepoURL) } abs, err := filepath.Abs(name)