Skip to content

Commit 599fb15

Browse files
committed
Lint fixes
Signed-off-by: Swati Gupta <[email protected]>
1 parent 896ef3a commit 599fb15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/gpu-kubelet-plugin/driver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,13 @@ func (d *driver) deviceHealthEvents(ctx context.Context, nodeName string) {
219219
klog.Warningf("Received unhealthy notification for device: %s", uuid)
220220

221221
if !device.IsHealthy() {
222-
klog.V(6).Info("Device: %s is aleady marked unhealthy. Skip republishing resourceslice", uuid)
222+
klog.V(6).Infof("Device: %s is aleady marked unhealthy. Skip republishing resourceslice", uuid)
223223
continue
224224
}
225225

226226
release, err := d.pulock.Acquire(ctx, flock.WithTimeout(10*time.Second))
227227
if err != nil {
228-
klog.Errorf("error acquiring prep/unprep lock for health status update: %w", err)
228+
klog.Errorf("error acquiring prep/unprep lock for health status update: %v", err)
229229
continue
230230
}
231231

0 commit comments

Comments
 (0)