Skip to content

Commit

Permalink
WIP fix #4670
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhooker committed Mar 16, 2017
1 parent b8cf6a9 commit 5a3cf8c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
8 changes: 8 additions & 0 deletions common/multistep_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ type abortStep struct {
ui packer.Ui
}

func (s abortStep) InnerStepName() string {
return typeName(s.step)
}

func (s abortStep) Run(state multistep.StateBag) multistep.StepAction {
return s.step.Run(state)
}
Expand All @@ -82,6 +86,10 @@ type askStep struct {
ui packer.Ui
}

func (s askStep) InnerStepName() string {
return typeName(s.step)
}

func (s askStep) Run(state multistep.StateBag) (action multistep.StepAction) {
for {
action = s.step.Run(state)
Expand Down
15 changes: 14 additions & 1 deletion vendor/github.com/mitchellh/multistep/debug_runner.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5a3cf8c

Please sign in to comment.