Merge pull request #112028 from dengyufeng2206/test2508

fix several typos under scheduler framework
This commit is contained in:
Kubernetes Prow Robot 2022-09-22 15:18:53 -07:00 committed by GitHub
commit 5fe1450ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -187,7 +187,7 @@ func (pl *VolumeZone) EventsToRegister() []framework.ClusterEvent {
// A new pvc may make a pod schedulable. // A new pvc may make a pod schedulable.
// Due to fields are immutable except `spec.resources`, pvc update events are ignored. // Due to fields are immutable except `spec.resources`, pvc update events are ignored.
{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add}, {Resource: framework.PersistentVolumeClaim, ActionType: framework.Add},
// A new pv or updating a pv's volume zone labels may make a pod shedulable. // A new pv or updating a pv's volume zone labels may make a pod schedulable.
{Resource: framework.PersistentVolume, ActionType: framework.Add | framework.Update}, {Resource: framework.PersistentVolume, ActionType: framework.Add | framework.Update},
} }
} }

View File

@ -1708,7 +1708,7 @@ func TestPreBindPlugins(t *testing.T) {
wantStatus: nil, wantStatus: nil,
}, },
{ {
name: "UnshedulablePreBindPlugin", name: "UnschedulablePreBindPlugin",
plugins: []*TestPlugin{ plugins: []*TestPlugin{
{ {
name: "TestPlugin", name: "TestPlugin",
@ -1866,7 +1866,7 @@ func TestReservePlugins(t *testing.T) {
wantStatus: nil, wantStatus: nil,
}, },
{ {
name: "UnshedulableReservePlugin", name: "UnschedulableReservePlugin",
plugins: []*TestPlugin{ plugins: []*TestPlugin{
{ {
name: "TestPlugin", name: "TestPlugin",