Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine log statements using %w for better formatting and UX #7115

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

a-hilaly
Copy link
Member

@a-hilaly a-hilaly commented Sep 26, 2023

Description

This commit addresses an issue where some log statements were
using %w, which is primarily intended for fmt error formatting
and not logging. To improve formatting and user experience,
this patch replaces all instances of %w in log statements with
more suitable formatting options.

-->

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes
  • (Core team) Added labels for change area (e.g. area/nodegroup) and kind (e.g. kind/improvement)

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

This commit addresses an issue where some log statements were
using %w, which is primarily intended for fmt error formatting
and not logging. To improve formatting and user experience,
this patch replaces all instances of `%w` in log statements with
more suitable formatting options.

Signed-off-by: Amine Hilaly <hilalyamine@gmail.com>
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello a-hilaly 👋 Thank you for opening a Pull Request in eksctl project. The team will review the Pull Request and aim to respond within 1-10 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

Copy link
Collaborator

@Himangini Himangini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@Himangini Himangini merged commit 8cf3bda into eksctl-io:main Sep 28, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants