From fb9038b0b29d37c22735d71d3041b8cfa1a00275 Mon Sep 17 00:00:00 2001 From: Vladislav Rassokhin Date: Thu, 8 Aug 2019 14:49:24 +0300 Subject: [PATCH] Prevent endless wait --- common/step_wait_for_ip.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/step_wait_for_ip.go b/common/step_wait_for_ip.go index e1f7e0891..4365b7f62 100644 --- a/common/step_wait_for_ip.go +++ b/common/step_wait_for_ip.go @@ -45,8 +45,6 @@ func (s *StepWaitForIp) Run(ctx context.Context, state multistep.StateBag) multi waitDone := make(chan bool, 1) defer func() { cancel() - for range waitDone { - } }() go func() {