Skip to content

Commit

Permalink
make check happy
Browse files Browse the repository at this point in the history
  • Loading branch information
weekface committed Jan 21, 2019
1 parent 39999cf commit 91a2c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/predicates/ha.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (h *ha) realAcquireLock(pod *apiv1.Pod) (*apiv1.PersistentVolumeClaim, *api
var currentPVC *apiv1.PersistentVolumeClaim
var schedulingPVC *apiv1.PersistentVolumeClaim
items := pvcList.Items
for i, _ := range items {
for i := range items {
if items[i].GetName() == currentPVCName {
currentPVC = &items[i]
}
Expand Down

0 comments on commit 91a2c4a

Please sign in to comment.