Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: Sidhant Kohli <[email protected]>
  • Loading branch information
kohlisid committed Feb 1, 2025
1 parent cb049e2 commit 8685002
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/mvtxdaemon/server/service/rater/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func CalculateMaxLookback(counts []*TimestampedCounts, startIndex, endIndex int)
return findGlobalMaxDuration(lookBackData.maxUnchangedDuration)
}

// processTimeline processes the timeline of counts and updates the maxUnchangedDuration for each pod.
func processTimeline(counts []*TimestampedCounts, startIndex, endIndex int, data *podMaxDuration) {
for i := startIndex; i <= endIndex; i++ {
item := counts[i].PodCountSnapshot()
Expand Down

0 comments on commit 8685002

Please sign in to comment.