Skip to content

Commit

Permalink
Enforce policy strategies sequentially
Browse files Browse the repository at this point in the history
Signed-off-by: Madalina Lazar <madalina.lazar@intel.com>
  • Loading branch information
madalazar committed Dec 22, 2022
1 parent 6106d3f commit 75cf83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telemetry-aware-scheduling/pkg/strategies/core/enforcer.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (e *MetricEnforcer) EnforceRegisteredStrategies(cache cache.Reader, timer t
<-timer.C

for registeredType := range e.RegisteredStrategies {
go e.enforceStrategy(registeredType, cache)
e.enforceStrategy(registeredType, cache)
}
}
}
Expand Down

0 comments on commit 75cf83e

Please sign in to comment.