missing PersistState in env new

This commit is contained in:
James Bardin 2017-04-12 13:42:23 -04:00
parent 9c431aee1b
commit d1b4df42ed
1 changed files with 5 additions and 0 deletions

View File

@ -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
}