Skip to content

Commit

Permalink
internal/wrr: fix copying lock
Browse files Browse the repository at this point in the history
  • Loading branch information
egonelbre committed Feb 25, 2020
1 parent a43f3ee commit 82e5e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/wrr/edf.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (pq *edfPriorityQueue) Pop() interface{} {
}

// Current time in EDF scheduler.
func (edf edfWrr) currentTime() float64 {
func (edf *edfWrr) currentTime() float64 {
if len(edf.items) == 0 {
return 0.0
}
Expand Down

0 comments on commit 82e5e98

Please sign in to comment.