mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
resourceclaim controller: add missing log output
The logging was fairly complete about *not* doing something, but the actual ResourceClaim creation was not logged.
This commit is contained in:
parent
7f87629a3f
commit
2da9e660e3
@ -657,6 +657,7 @@ func (ec *Controller) handleClaim(ctx context.Context, pod *v1.Pod, podClaim v1.
|
||||
metrics.ResourceClaimCreateFailures.Inc()
|
||||
return fmt.Errorf("create ResourceClaim %s: %v", claimName, err)
|
||||
}
|
||||
logger.V(4).Info("Created ResourceClaim", "claim", klog.KObj(claim), "pod", klog.KObj(pod))
|
||||
ec.claimCache.Mutation(claim)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user