Skip to content

Commit

Permalink
Merge pull request #7838 from moreandres/logging-format-typo
Browse files Browse the repository at this point in the history
use string in logging instead of wrapping error
  • Loading branch information
cPu1 committed Jun 21, 2024
2 parents 4b62d1a + ad98541 commit 3cbd926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/actions/nodegroup/drain.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ func (d *Drainer) Drain(ctx context.Context, input *DrainInput) error {

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

0 comments on commit 3cbd926

Please sign in to comment.