Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit ba41b02

Browse files
togashidmmadalazar
authored andcommitted
Fix empty lines
1 parent cfc30bb commit ba41b02

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

telemetry-aware-scheduling/pkg/strategies/deschedule/strategy_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ func strategyRuleDefault(policyname, metricname, operator string, target int64)
314314
Rules: []v1.TASPolicyRule{
315315
metricRules(metricname, operator, target)}}
316316
}
317+
317318
func strategyRule(policyname, logicalOp, metricname, operator string, target int64) *Strategy {
318319
return &Strategy{
319320
PolicyName: policyname,

telemetry-aware-scheduling/pkg/strategies/dontschedule/strategy.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ func (d *Strategy) StrategyType() string {
7474
//Equals implementation which checks to see if all rules and the policy name are equal for this strategy and another.
7575
//Used to avoid duplications and to find the correct strategy for deletions in the index.
7676
func (d *Strategy) Equals(other core.Interface) bool {
77-
7877
OtherDontScheduleStrategy, ok := other.(*Strategy)
7978
sameName := other.GetPolicyName() == d.GetPolicyName()
8079
if ok && sameName && len(d.Rules) > 0 && len(d.Rules) == len(OtherDontScheduleStrategy.Rules) {

telemetry-aware-scheduling/pkg/strategies/dontschedule/strategy_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ func strategyRuleDefault(policyname, metricname, operator string, target int64)
204204
Rules: []v1.TASPolicyRule{
205205
metricRules(metricname, operator, target)}}
206206
}
207+
207208
func strategyRule(policyname, logicalOp, metricname, operator string, target int64) Strategy {
208209
return Strategy{
209210
PolicyName: policyname,

0 commit comments

Comments
 (0)