RefreshState in output command

pull/12031/head
Chris Paris 9 years ago
parent d8232314cc
commit 5812bae27f

@ -57,6 +57,11 @@ func (c *OutputCommand) Run(args []string) int {
return 1
}
if err := stateStore.RefreshState(); err != nil {
c.Ui.Error(fmt.Sprintf("Failed to load state: %s", err))
return 1
}
if module == "" {
module = "root"
} else {

Loading…
Cancel
Save