-
Notifications
You must be signed in to change notification settings - Fork 45
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
Remove socket files #113
Remove socket files #113
Conversation
@Kifen binary file uploaded. |
Also the replace should be re-commentend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great one! But if we use syscall
here anyway, what do you think about getting rid of os.Stat
call? We may just call Unlink
and filter out ENOENT
error in case file doesn't exist. Just a suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Please fix linter error adding a comment to UnlinkSockFile
.
@Kifen also shouldn't we remove also the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Fixes #93
Changes:
How to test this PR: