mirror of
https://github.com/kemko/nomad.git
synced 2026-01-16 15:25:41 +03:00
client: add test for driverfailure during fingerprinting
This commit is contained in:
committed by
Michael Schurter
parent
b751030765
commit
2e055fe18a
@@ -196,6 +196,7 @@ func (r *RawExecDriver) Fingerprint(ctx context.Context) (<-chan *drivers.Finger
|
||||
}
|
||||
|
||||
func (r *RawExecDriver) handleFingerprint(ctx context.Context, ch chan *drivers.Fingerprint) {
|
||||
defer close(ch)
|
||||
ticker := time.NewTimer(0)
|
||||
for {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user