Skip to content

Commit

Permalink
Revert "fix(helm): resolve symlinks when loading chart"
Browse files Browse the repository at this point in the history
This reverts commit edd4e56.

(cherry picked from commit 211f5f6)
  • Loading branch information
Matthew Fisher committed Oct 3, 2017
1 parent e23f660 commit ce1ba29
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
39 changes: 23 additions & 16 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions glide.yaml
Expand Up @@ -38,7 +38,6 @@ import:
- package: github.com/gobwas/glob
version: ^0.2.1
- package: github.com/evanphx/json-patch
- package: github.com/facebookgo/symwalk
- package: github.com/BurntSushi/toml
version: ~0.3.0
- package: github.com/naoina/go-stringutil
Expand Down Expand Up @@ -80,7 +79,6 @@ import:
ignore:
- k8s.io/client-go
- k8s.io/apimachinery

testImports:
- package: github.com/stretchr/testify
version: ^1.1.4
Expand Down
2 changes: 1 addition & 1 deletion pkg/chartutil/load.go
Expand Up @@ -244,7 +244,7 @@ func LoadDir(dir string) (*chart.Chart, error) {
files := []*BufferedFile{}
topdir += string(filepath.Separator)

err = symwalk.Walk(topdir, func(name string, fi os.FileInfo, err error) error {
err = filepath.Walk(topdir, func(name string, fi os.FileInfo, err error) error {
n := strings.TrimPrefix(name, topdir)

// Normalize to / since it will also work on Windows
Expand Down

0 comments on commit ce1ba29

Please sign in to comment.