Fix regression on template failing due to duplicate fetch target (#1395)

This fixes a regression introduced in #1388
Fixes #1394
This commit is contained in:
KUOKA Yusuke 2020-08-04 02:28:58 +09:00 committed by GitHub
parent 85a2024669
commit cc9b7f3942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -890,7 +890,7 @@ func (st *HelmState) PrepareCharts(helm helmexec.Interface, dir string, concurre
fetchFlags = append(fetchFlags, "--version", release.Version)
}
pathElems = append(pathElems, chartVersion, release.Chart)
pathElems = append(pathElems, release.Name, release.Chart, chartVersion)
chartPath = path.Join(pathElems...)