fix several typos under scheduler framework

Signed-off-by: dengyufeng2206 <deng.yufeng@zte.com.cn>
This commit is contained in:
dengyufeng2206 2022-08-25 19:02:07 +08:00
parent 26842bb0c8
commit 1a07ea2f60
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.
// Due to fields are immutable except `spec.resources`, pvc update events are ignored.
{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},
}
}

View File

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