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

Print error to stderr instead of stdout before exiting #2823

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

anoop142
Copy link
Contributor

Currently kaniko prints to stdout and exits, this commit changes it to stderr.

Description

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Adds integration tests if needed.

See the contribution guide for more details.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

fmt.Println prints error to stdout before exiting which is against Unix
principles.
Copy link
Collaborator

@QuanZhang-William QuanZhang-William left a comment

Choose a reason for hiding this comment

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

This change looks good to me. @aaron-prindle, could you please also take a look?

@QuanZhang-William QuanZhang-William self-assigned this Nov 2, 2023
@aaron-prindle aaron-prindle merged commit 66f24c9 into GoogleContainerTools:main Nov 16, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants