Skip to content

Commit

Permalink
fix: update log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-hontarau committed Aug 8, 2024
1 parent c7c2948 commit c3f6aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/internal/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ func killWorkers(ctx context.Context, logger *slog.Logger, workers []internal.Wo
logger.With(
"worker_id", worker.ID,
"instance_id", instanceID,
).Info("killing worker already idled worker")
).Info("killing drained worker")
if err := controller.KillInstance(ctx, string(instanceID)); err != nil {
return fmt.Errorf("could not kill already drained instance: %w", err)
return fmt.Errorf("could not kill drained instance: %w", err)
}
}
return nil
Expand Down

0 comments on commit c3f6aaa

Please sign in to comment.