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 31cdcc1e941..60d1c565e92 100644 --- a/pkg/scheduler/framework/runtime/framework_test.go +++ b/pkg/scheduler/framework/runtime/framework_test.go @@ -1708,7 +1708,7 @@ func TestPreBindPlugins(t *testing.T) { wantStatus: nil, }, { - name: "UnshedulablePreBindPlugin", + name: "UnschedulablePreBindPlugin", plugins: []*TestPlugin{ { name: "TestPlugin", @@ -1866,7 +1866,7 @@ func TestReservePlugins(t *testing.T) { wantStatus: nil, }, { - name: "UnshedulableReservePlugin", + name: "UnschedulableReservePlugin", plugins: []*TestPlugin{ { name: "TestPlugin",