Skip to content

Commit

Permalink
missing PersistState in env new
Browse files Browse the repository at this point in the history
  • Loading branch information
jbardin committed Apr 12, 2017
1 parent a404275 commit 3b89982
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions command/env_new.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ func (c *EnvNewCommand) Run(args []string) int {
c.Ui.Error(err.Error())
return 1
}
err = sMgr.PersistState()
if err != nil {
c.Ui.Error(err.Error())
return 1
}

return 0
}
Expand Down

0 comments on commit 3b89982

Please sign in to comment.