Merge pull request #6628 from VilledeMontreal/fix/impossibleCond

Remove impossible condition reported by linter
This commit is contained in:
Matthew Fisher
2019-10-10 10:58:59 -07:00
committed by GitHub

View File

@@ -45,9 +45,6 @@ func Expand(dir string, r io.Reader) error {
if err := yaml.Unmarshal(file.Data, ch); err != nil {
return errors.Wrap(err, "cannot load Chart.yaml")
}
if err != nil {
return err
}
chartName = ch.Name
}
}