diff options
Diffstat (limited to 'vendor/github.com/mitchellh/packer/builder/profitbricks/builder.go')
-rw-r--r-- | vendor/github.com/mitchellh/packer/builder/profitbricks/builder.go | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/vendor/github.com/mitchellh/packer/builder/profitbricks/builder.go b/vendor/github.com/mitchellh/packer/builder/profitbricks/builder.go index 95a2b1b2..750b843c 100644 --- a/vendor/github.com/mitchellh/packer/builder/profitbricks/builder.go +++ b/vendor/github.com/mitchellh/packer/builder/profitbricks/builder.go @@ -49,15 +49,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe config := state.Get("config").(*Config) - if b.config.PackerDebug { - b.runner = &multistep.DebugRunner{ - Steps: steps, - PauseFn: common.MultistepDebugFn(ui), - } - } else { - b.runner = &multistep.BasicRunner{Steps: steps} - } - + b.runner = common.NewRunner(steps, b.config.PackerConfig, ui) b.runner.Run(state) if rawErr, ok := state.GetOk("error"); ok { |