remove FakeVolumeBinderConfig and test new statues and states

This commit is contained in:
Yecheng Fu
2020-06-08 22:23:52 +08:00
parent c4138361e4
commit 814a6f2acd
3 changed files with 248 additions and 55 deletions

View File

@@ -256,8 +256,6 @@ func (b *volumeBinder) FindPodVolumes(pod *v1.Pod, boundClaims, claimsToBind []*
// Check PV node affinity on bound volumes
if len(boundClaims) > 0 {
// TODO if node affinity does not match, we should
// UnschedulableAndUnresolvable error back to scheduler framework
boundVolumesSatisfied, err = b.checkBoundClaims(boundClaims, node, podName)
if err != nil {
return nil, err