mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
DRA: always returns Unschedulable in PostFilter
This commit is contained in:
parent
7811ba3d4d
commit
ceabc4aba8
@ -806,7 +806,7 @@ func (pl *dynamicResources) PostFilter(ctx context.Context, cs *framework.CycleS
|
||||
if err := state.updateClaimStatus(ctx, pl.clientset, index, claim); err != nil {
|
||||
return nil, statusError(logger, err)
|
||||
}
|
||||
return nil, nil
|
||||
return nil, framework.NewStatus(framework.Unschedulable, "deallocation of ResourceClaim completed")
|
||||
}
|
||||
}
|
||||
return nil, framework.NewStatus(framework.Unschedulable, "still not schedulable")
|
||||
|
@ -467,6 +467,7 @@ func TestPlugin(t *testing.T) {
|
||||
Obj()
|
||||
},
|
||||
},
|
||||
status: framework.NewStatus(framework.Unschedulable, `deallocation of ResourceClaim completed`),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user