mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
fix wrong comments of dra
Signed-off-by: Xuzheng Chang <changxuzheng@huawei.com>
This commit is contained in:
parent
9791f0d1f3
commit
3e08030d53
@ -547,7 +547,7 @@ func (ec *Controller) syncPod(ctx context.Context, namespace, name string) error
|
|||||||
return nil
|
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 {
|
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)
|
logger := klog.LoggerWithValues(klog.FromContext(ctx), "podClaim", podClaim.Name)
|
||||||
ctx = klog.NewContext(ctx, logger)
|
ctx = klog.NewContext(ctx, logger)
|
||||||
|
Loading…
Reference in New Issue
Block a user