fix several typos under scheduler framework
Signed-off-by: dengyufeng2206 <deng.yufeng@zte.com.cn>
This commit is contained in:
parent
26842bb0c8
commit
1a07ea2f60
@ -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},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1677,7 +1677,7 @@ func TestPreBindPlugins(t *testing.T) {
|
|||||||
wantStatus: nil,
|
wantStatus: nil,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "UnshedulablePreBindPlugin",
|
name: "UnschedulablePreBindPlugin",
|
||||||
plugins: []*TestPlugin{
|
plugins: []*TestPlugin{
|
||||||
{
|
{
|
||||||
name: "TestPlugin",
|
name: "TestPlugin",
|
||||||
@ -1835,7 +1835,7 @@ func TestReservePlugins(t *testing.T) {
|
|||||||
wantStatus: nil,
|
wantStatus: nil,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "UnshedulableReservePlugin",
|
name: "UnschedulableReservePlugin",
|
||||||
plugins: []*TestPlugin{
|
plugins: []*TestPlugin{
|
||||||
{
|
{
|
||||||
name: "TestPlugin",
|
name: "TestPlugin",
|
||||||
|
Loading…
Reference in New Issue
Block a user