mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
allocrunner: Close updates routine correctly
This commit is contained in:
@@ -652,7 +652,7 @@ func (ar *allocRunner) handleAllocUpdates() {
|
||||
case update := <-ar.allocUpdatedCh:
|
||||
ar.handleAllocUpdate(update)
|
||||
case <-ar.waitCh:
|
||||
break
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user