Skip to content

Commit

Permalink
pass chart version for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
semin-lev committed Feb 20, 2022
1 parent b21760f commit 2c1fd77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,9 @@ func (c *HelmClient) TemplateChart(spec *ChartSpec) ([]byte, error) {

// LintChart fetches a chart using the provided ChartSpec 'spec' and lints it's values.
func (c *HelmClient) LintChart(spec *ChartSpec) error {
_, chartPath, err := c.getChart(spec.ChartName, &action.ChartPathOptions{})
_, chartPath, err := c.getChart(spec.ChartName, &action.ChartPathOptions{
Version: spec.Version,
})
if err != nil {
return err
}
Expand Down

0 comments on commit 2c1fd77

Please sign in to comment.