Merge pull request #43 from roboll/fix-err-on-charts-yaml-fallback

Fix error on charts.yml fallback
This commit is contained in:
KUOKA Yusuke
2018-03-04 22:15:37 +09:00
committed by GitHub
-3
View File
@@ -248,9 +248,6 @@ func before(c *cli.Context) (*state.HelmState, helmexec.Interface, error) {
}
log.Printf("warn: charts.yaml is loaded: charts.yaml is deprecated in favor of helmfile.yaml. See https://github.com/roboll/helmfile/issues/25 for more information")
}
if err != nil {
return nil, nil, err
}
if st.Context != "" {
if kubeContext != "" {
log.Printf("err: Cannot use option --kube-context and set attribute context.")