Skip to content

Commit

Permalink
missing PersistState in env new
Browse files Browse the repository at this point in the history
jbardin committed Apr 12, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 9c431ae commit d1b4df4
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
@@ -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
}

0 comments on commit d1b4df4

Please sign in to comment.