@@ -198,12 +198,12 @@ func (d *driver) CleanupStaleStateContinuously(ctx context.Context) {
198
198
for {
199
199
resourceVersion , err := d .cleanupStaleStateOnce (ctx )
200
200
if err != nil {
201
- klog .Errorf ("Error cleaning up stale claim state: %w " , err )
201
+ klog .Errorf ("Error cleaning up stale claim state: %v " , err )
202
202
}
203
203
204
204
err = d .cleanupStaleStateContinuously (ctx , resourceVersion , err )
205
205
if err != nil {
206
- klog .Errorf ("Error cleaning up stale claim state: %w " , err )
206
+ klog .Errorf ("Error cleaning up stale claim state: %v " , err )
207
207
time .Sleep (CleanupTimeoutSecondsOnError * time .Second )
208
208
}
209
209
}
@@ -279,7 +279,7 @@ func (d *driver) cleanupStaleState(ctx context.Context, nas *nascrd.NodeAllocati
279
279
go func () {
280
280
count := 0
281
281
for err := range caErrors {
282
- klog .Errorf ("Error cleaning up claim allocations: %w " , err )
282
+ klog .Errorf ("Error cleaning up claim allocations: %v " , err )
283
283
count ++
284
284
}
285
285
errorCounts <- count
@@ -290,7 +290,7 @@ func (d *driver) cleanupStaleState(ctx context.Context, nas *nascrd.NodeAllocati
290
290
go func () {
291
291
count := 0
292
292
for err := range cdiErrors {
293
- klog .Errorf ("Error cleaning up CDI files: %w " , err )
293
+ klog .Errorf ("Error cleaning up CDI files: %v " , err )
294
294
count ++
295
295
}
296
296
errorCounts <- count
@@ -301,7 +301,7 @@ func (d *driver) cleanupStaleState(ctx context.Context, nas *nascrd.NodeAllocati
301
301
go func () {
302
302
count := 0
303
303
for err := range mpsErrors {
304
- klog .Errorf ("Error cleaning up MPS control daemon artifacts: %w " , err )
304
+ klog .Errorf ("Error cleaning up MPS control daemon artifacts: %v " , err )
305
305
count ++
306
306
}
307
307
errorCounts <- count
0 commit comments