Remove unnecessary return
Co-Authored-By: preetapan <preetha@hashicorp.com>
This commit is contained in:
parent
fc7ba5e79d
commit
9ca6c998c7
|
@ -598,7 +598,6 @@ func (d *QemuDriver) handleWait(ctx context.Context, handle *qemuTaskHandle, ch
|
|||
select {
|
||||
case <-ctx.Done():
|
||||
case <-d.ctx.Done():
|
||||
return
|
||||
case ch <- result:
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue