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: close output file #3016

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

testwill
Copy link

@testwill testwill commented Apr 12, 2024

Generated description

Below is a concise technical summary of the changes proposed in this PR:

Add a defer statement to ensure the output file is closed after writing in writeOutput function of main.go.

TopicDetails
File Closure Ensure the output file is closed after writing in writeOutput.
Modified files (1)
  • tools/describezones/main.go
Latest Contributors(1)
EmailCommitDate
hugorut@gmail.comfix-Duplicate-project-...May 03, 2024
This pull request is reviewed by Baz. Join @testwill and the rest of your team on (Baz).

@CLAassistant
Copy link

CLAassistant commented Apr 12, 2024

CLA assistant check
All committers have signed the CLA.

@aliscott
Copy link
Member

@testwill thanks, looks like this is failing some linting.

Signed-off-by: guoguangwu <guoguangwug@gmail.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.

3 participants