Unverified Commit 7609ad29 authored by Matthew Fisher's avatar Matthew Fisher Committed by GitHub

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

fix(helm): fix the build-time golint warning on 'cmd/helm/install.go'
parents 6a1dd806 244b1b15
......@@ -499,12 +499,12 @@ func readFile(filePath string) ([]byte, error) {
if err != nil {
return ioutil.ReadFile(filePath)
} else {
getter, err := getterConstructor(filePath, "", "", "")
if err != nil {
return []byte{}, err
}
data, err := getter.Get(filePath)
return data.Bytes(), err
}
getter, err := getterConstructor(filePath, "", "", "")
if err != nil {
return []byte{}, err
}
data, err := getter.Get(filePath)
return data.Bytes(), err
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment