diff --git a/drivers/docker/fingerprint.go b/drivers/docker/fingerprint.go index e6ffabc5c..3ad721f7a 100644 --- a/drivers/docker/fingerprint.go +++ b/drivers/docker/fingerprint.go @@ -60,7 +60,10 @@ func (d *Driver) fingerprintSuccessful() bool { func (d *Driver) handleFingerprint(ctx context.Context, ch chan *drivers.Fingerprint) { defer close(ch) + ticker := time.NewTimer(0) + defer ticker.Stop() + for { select { case <-ctx.Done():