fix: correct issue with locating existing chart
This commit is contained in:
1 file changed
+2
-1
@@ -334,7 +334,8 @@ func (h *HelmAgent) UpgradeChart(ctx context.Context, input ChartInput) error {
|
|||||||
client.RepoURL = input.RepoURL
|
client.RepoURL = input.RepoURL
|
||||||
}
|
}
|
||||||
|
|
||||||
chart, err := client.ChartPathOptions.LocateChart(input.ChartPath, nil)
|
settings := cli.New()
|
||||||
|
chart, err := client.ChartPathOptions.LocateChart(input.ChartPath, settings)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Error locating chart: %w", err)
|
return fmt.Errorf("Error locating chart: %w", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user