Merge pull request #3474 from adshmh/fix-golint-warning-in-install

fix(helm): fix the build-time golint warning on 'cmd/helm/install.go'
pull/4207/head^2
Matthew Fisher 8 years ago committed by GitHub
commit 4229e5817a

@ -499,7 +499,8 @@ func readFile(filePath string) ([]byte, error) {
if err != nil {
return ioutil.ReadFile(filePath)
} else {
}
getter, err := getterConstructor(filePath, "", "", "")
if err != nil {
return []byte{}, err
@ -507,4 +508,3 @@ func readFile(filePath string) ([]byte, error) {
data, err := getter.Get(filePath)
return data.Bytes(), err
}
}

Loading…
Cancel
Save