Prevent endless wait

This commit is contained in:
Vladislav Rassokhin 2019-08-08 14:49:24 +03:00
parent 69e31bc126
commit fb9038b0b2

View file

@ -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() {