mirror of
https://github.com/kemko/nomad.git
synced 2026-01-16 15:25:41 +03:00
Remove unnecessary return
Co-Authored-By: preetapan <preetha@hashicorp.com>
This commit is contained in:
@@ -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:
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user