Skip to content

Commit

Permalink
R - remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
brianberzins committed Apr 27, 2022
1 parent 2dd30f7 commit f27d901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reaper/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func getPodDeletionCost(pod v1.Pod) int32 {
return int32(cost)
}

func defaultSort(pods []v1.Pod) {}
func defaultSort([]v1.Pod) {}

func randomSort(pods []v1.Pod) {
rand.Shuffle(len(pods), func(i, j int) { pods[i], pods[j] = pods[j], pods[i] })
Expand Down

0 comments on commit f27d901

Please sign in to comment.