diff --git a/pkg/scheduler/framework/plugins/volumezone/volume_zone.go b/pkg/scheduler/framework/plugins/volumezone/volume_zone.go index fb548121d45..1bfab85fc86 100644 --- a/pkg/scheduler/framework/plugins/volumezone/volume_zone.go +++ b/pkg/scheduler/framework/plugins/volumezone/volume_zone.go @@ -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}, } } diff --git a/pkg/scheduler/framework/runtime/framework_test.go b/pkg/scheduler/framework/runtime/framework_test.go index c1f6f1d329c..c32b4d017c2 100644 --- a/pkg/scheduler/framework/runtime/framework_test.go +++ b/pkg/scheduler/framework/runtime/framework_test.go @@ -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",