NewRunner -> NewRunnerWithPauseFn in bmcs builder

This commit is contained in:
Andrew Pryde 2017-09-05 11:08:27 +01:00
parent e8e0e8c948
commit dbbe8665e6
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
}
// Run the steps
b.runner = common.NewRunner(steps, b.config.PackerConfig, ui)
b.runner = common.NewRunnerWithPauseFn(steps, b.config.PackerConfig, ui, state)
b.runner.Run(state)
// If there was an error, return that