Fix golint errors in pkg/scheduler
based on golint check
This commit is contained in:
@@ -68,7 +68,7 @@ func TestSortableList(t *testing.T) {
|
||||
podList := SortableList{CompFunc: higherPriority}
|
||||
// Add a few Pods with different priorities from lowest to highest priority.
|
||||
for i := 0; i < 10; i++ {
|
||||
var p int32 = int32(i)
|
||||
var p = int32(i)
|
||||
pod := &v1.Pod{
|
||||
Spec: v1.PodSpec{
|
||||
Containers: []v1.Container{
|
||||
|
Reference in New Issue
Block a user