We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8464876 + b0befd6 commit 149732bCopy full SHA for 149732b
internal/compute-domain-dra-plugin/driver.go
@@ -104,7 +104,9 @@ func (d *computeDomainDriver) Shutdown(logger klog.Logger) error {
104
}
105
106
func (d *computeDomainDriver) PrepareResourceClaims(ctx context.Context, claims []*resourceapi.ResourceClaim) (map[types.UID]kubeletplugin.PrepareResult, error) {
107
- klog.Infof("PrepareResourceClaims is called: number of claims: %d", len(claims))
+ if len(claims) > 0 {
108
+ klog.Infof("PrepareResourceClaims is called: number of claims: %d", len(claims))
109
+ }
110
result := make(map[types.UID]kubeletplugin.PrepareResult)
111
112
for _, claim := range claims {
0 commit comments