Skip to content

Commit 3cbd926

Browse files
authored
Merge pull request #7838 from moreandres/logging-format-typo
use string in logging instead of wrapping error
2 parents 4b62d1a + ad98541 commit 3cbd926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/actions/nodegroup/drain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ func (d *Drainer) Drain(ctx context.Context, input *DrainInput) error {
5858

5959
func waitForAllRoutinesToFinish(ctx context.Context, sem *semaphore.Weighted, size int64) {
6060
if err := sem.Acquire(ctx, size); err != nil {
61-
logger.Critical("failed to acquire semaphore while waiting for all routines to finish: %w", err)
61+
logger.Critical("failed to acquire semaphore while waiting for all routines to finish: %v", err)
6262
}
6363
}

0 commit comments

Comments
 (0)