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

fix checkError in terraform/testutils #5893

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Conversation

Abirdcfly
Copy link
Contributor

Signed-off-by: Abirdcfly fp544037857@gmail.com

Proposed Changes

log.Fatal https://cs.opensource.google/go/go/+/refs/tags/go1.18.4:src/log/log.go;l=364-367;drc=2580d0e08d5e9f979b943758d3c49877fb2324cb is equivalent to Print() followed by a call to os.Exit(1). So no panic needed.

Also I think this function wants to output the error in the function parameter to the log

Types of Changes

Bugfix

Verification

Testing

Linked Issues

User-Facing Change

NONE

Further Comments

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
@Abirdcfly Abirdcfly requested a review from a team as a code owner July 21, 2022 16:04
@dereknola
Copy link
Contributor

@Abirdcfly Thanks for your community PR. I will get this merged into the August release once another reviewer approves.

@Abirdcfly
Copy link
Contributor Author

Kindly ping @dereknola for merge, thanks.

@dereknola dereknola merged commit 18cb7ef into k3s-io:master Aug 5, 2022
dereknola pushed a commit to dereknola/k3s that referenced this pull request Sep 1, 2022
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
dereknola pushed a commit to dereknola/k3s that referenced this pull request Sep 1, 2022
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
nikolaishields pushed a commit to nikolaishields/k3s that referenced this pull request Sep 14, 2022
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
Signed-off-by: Nikolai Shields <nikolai@nikolaishields.com>
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.

None yet

4 participants