mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Clarify comment
This commit is contained in:
@@ -160,6 +160,9 @@ func (a *allocReconciler) Compute() *reconcileResults {
|
||||
// Detect if the deployment is paused
|
||||
if a.deployment != nil {
|
||||
// Detect if any allocs associated with this deploy have failed
|
||||
// Failed allocations could edge trigger an evaluation before the deployment watcher
|
||||
// runs and marks the deploy as failed. This block makes sure that is still
|
||||
// considered a failed deploy
|
||||
failedAllocsInDeploy := false
|
||||
for _, as := range m {
|
||||
for _, alloc := range as {
|
||||
|
||||
Reference in New Issue
Block a user