Merge pull request #124214 from Monokaix/dev

fix wrong comments of dra
This commit is contained in:
Kubernetes Prow Robot 2024-04-18 03:24:28 -07:00 committed by GitHub
commit eb2a59e8d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -547,7 +547,7 @@ func (ec *Controller) syncPod(ctx context.Context, namespace, name string) error
return nil
}
// handleResourceClaim is invoked for each volume of a pod.
// handleResourceClaim is invoked for each resource claim of a pod.
func (ec *Controller) handleClaim(ctx context.Context, pod *v1.Pod, podClaim v1.PodResourceClaim, newPodClaims *map[string]string) error {
logger := klog.LoggerWithValues(klog.FromContext(ctx), "podClaim", podClaim.Name)
ctx = klog.NewContext(ctx, logger)