craigcondit commented on a change in pull request #359:
URL: 
https://github.com/apache/incubator-yunikorn-k8shim/pull/359#discussion_r792002515



##########
File path: pkg/cache/context.go
##########
@@ -365,19 +366,68 @@ func (ctx *Context) bindPodVolumes(pod *v1.Pod) error {
                                zap.String("podName", pod.Name))
                } else {
                        log.Logger().Info("Binding Pod Volumes", 
zap.String("podName", pod.Name))
-                       boundClaims, claimsToBind, _, err := 
ctx.apiProvider.GetAPIs().VolumeBinder.GetPodVolumes(assumedPod)
+                       boundClaims, claimsToBind, unboundClaimsImmediate, err 
:= ctx.apiProvider.GetAPIs().VolumeBinder.GetPodVolumes(assumedPod)

Review comment:
       actually, i don't think we do. This logic will have already run via the 
PreFilter() / Filter() calls on the upstream VolumeBinder plugin (we call these 
as part of node fitness checks).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to