diff --git a/common/multistep_runner.go b/common/multistep_runner.go index 9645fa37ee4..77e29dcf4f6 100644 --- a/common/multistep_runner.go +++ b/common/multistep_runner.go @@ -54,15 +54,6 @@ func NewRunnerWithPauseFn(steps []multistep.Step, config PackerConfig, ui packer return runner } -type packerRunner struct { - runner multistep.Runner - pauseFn interface{} -} - -func (r *packerRunner) Run(s multistep.StateBag) { r.runner.Run(s) } -func (r *packerRunner) Cancel() { r.runner.Cancel() } -func (r *packerRunner) PauseFn() interface{} { return r.pauseFn } - func typeName(i interface{}) string { return reflect.Indirect(reflect.ValueOf(i)).Type().Name() }