From 4b6b847b694db4277282b692746df75f68bad665 Mon Sep 17 00:00:00 2001 From: Qin Wang Date: Mon, 13 Feb 2017 21:58:36 +0000 Subject: [PATCH] fix test chart path change from rebase nit: fix spelling of dependency --- docs/helm/helm_dependency.md | 2 +- pkg/resolver/resolver_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/helm/helm_dependency.md b/docs/helm/helm_dependency.md index a3fc9d60d..bccc98594 100644 --- a/docs/helm/helm_dependency.md +++ b/docs/helm/helm_dependency.md @@ -46,7 +46,7 @@ For example, dependencies: - name: nginx version: "1.2.3" - repository: "file://../depedency_chart/nginx" + repository: "file://../dependency_chart/nginx" If the dependency chart is retrieved locally, it is not required to have the repository added to helm by "helm add repo". Version matching is also supported for this case. diff --git a/pkg/resolver/resolver_test.go b/pkg/resolver/resolver_test.go index b4b77794f..edc160a63 100644 --- a/pkg/resolver/resolver_test.go +++ b/pkg/resolver/resolver_test.go @@ -81,12 +81,12 @@ func TestResolve(t *testing.T) { name: "repo from valid local path", req: &chartutil.Requirements{ Dependencies: []*chartutil.Dependency{ - {Name: "signtest", Repository: "file://../testdata/testcharts/signtest", Version: "0.1.0"}, + {Name: "signtest", Repository: "file://../../cmd/helm/testdata/testcharts/signtest", Version: "0.1.0"}, }, }, expect: &chartutil.RequirementsLock{ Dependencies: []*chartutil.Dependency{ - {Name: "signtest", Repository: "file://../testdata/testcharts/signtest", Version: "0.1.0"}, + {Name: "signtest", Repository: "file://../../cmd/helm/testdata/testcharts/signtest", Version: "0.1.0"}, }, }, },