diff --git a/cmd/helm/dependency_build_test.go b/cmd/helm/dependency_build_test.go index 0e76381f4..eeca12fa6 100644 --- a/cmd/helm/dependency_build_test.go +++ b/cmd/helm/dependency_build_test.go @@ -112,10 +112,4 @@ func TestDependencyBuildCmdWithHelmV2Hash(t *testing.T) { t.Logf("Output: %s", out) t.Fatal(err) } - - // Make sure the child chart file got downloaded. - expect := filepath.Join(chartName, "charts/alpine-0.1.0.tgz") - if _, err := os.Stat(expect); err != nil { - t.Fatal(err) - } } diff --git a/cmd/helm/testdata/testcharts/issue-7233/charts/alpine-0.1.0.tgz b/cmd/helm/testdata/testcharts/issue-7233/charts/alpine-0.1.0.tgz index 925018e84..a64d9ed46 100644 Binary files a/cmd/helm/testdata/testcharts/issue-7233/charts/alpine-0.1.0.tgz and b/cmd/helm/testdata/testcharts/issue-7233/charts/alpine-0.1.0.tgz differ diff --git a/pkg/downloader/manager.go b/pkg/downloader/manager.go index b8b67790c..cb139f824 100644 --- a/pkg/downloader/manager.go +++ b/pkg/downloader/manager.go @@ -93,10 +93,10 @@ func (m *Manager) Build() error { if c.Metadata.APIVersion == chart.APIVersionV1 { log.Println("warning: a valid Helm v3 hash was not found. Checking against Helm v2 hash...") if sum, err := resolver.HashV2Req(req); err != nil || sum != lock.Digest { - return errors.New("the lock file is out of sync with the dependencies file. Please update the dependencies") + return errors.New("the lock file (requirements.lock) is out of sync with the dependencies file (requirements.yaml). Please update the dependencies") } } else { - return errors.New("the lock file is out of sync with the dependencies file. Please update the dependencies") + return errors.New("the lock file (Chart.lock) is out of sync with the dependencies file (Chart.yaml). Please update the dependencies") } }