Skip to content

Commit

Permalink
fix: incorrect error message when sub-helmfiles-only state missing env
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu committed Jun 19, 2019
1 parent 65818cd commit 7dbfb54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ func (a *App) visitStates(fileOrDir string, defOpts LoadOpts, converge func(*sta
}

st, err := a.loadDesiredStateFromYaml(f, opts)
if err != nil {
return err
}

sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
Expand Down

0 comments on commit 7dbfb54

Please sign in to comment.