Skip to content

Commit

Permalink
fix: fix merge bug
Browse files Browse the repository at this point in the history
  • Loading branch information
slipegg committed Oct 28, 2024
1 parent 8ae528d commit d1a9442
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pkg/framework/api/nodeinfo_podinfo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
"k8s.io/apimachinery/pkg/util/sets"
utilfeature "k8s.io/apiserver/pkg/util/feature"

"github.com/google/go-cmp/cmp"
"github.com/kubewharf/godel-scheduler/pkg/features"
podutil "github.com/kubewharf/godel-scheduler/pkg/util/pod"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/scheduler/cache/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (s *Snapshot) HavePodsWithRequiredAntiAffinityList() []framework.NodeInfo {
}

func (s *Snapshot) Len() int {
return len(s.nodeSlices.inPartitionNodeSlice.Nodes()) + len(s.nodeSlices.outOfPartitionNodeSlice.Nodes())
return len(s.nodeSlices.InPartitionNodeSlice.Nodes()) + len(s.nodeSlices.OutOfPartitionNodeSlice.Nodes())
}

// Get returns the NodeInfo of the given node name.
Expand Down

0 comments on commit d1a9442

Please sign in to comment.