-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Removing stale sockets while running Ansible operators #3721
Removing stale sockets while running Ansible operators #3721
Conversation
"io" | ||
"io/ioutil" | ||
"net" | ||
"net/http" | ||
"os" | ||
logf "sigs.k8s.io/controller-runtime/pkg/log" |
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.
Missing fragment and fix the order of the imports.
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.
/lgtm
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.
/lgtm
Removed stale unix sockets. This allows for smoother | ||
initialization during the start-up of an Ansible operator, | ||
as each operator will clean up its sockets during termination. |
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.
Removed stale unix sockets. This allows for smoother | |
initialization during the start-up of an Ansible operator, | |
as each operator will clean up its sockets during termination. | |
Remove stale Unix sockets when the events are closed in order to optimize the initialization process of Ansible-based Operators. |
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.
Just a nit ^ Otherwise /lgtm
Description of the change:
Removed stale sockets during the closing of Ansible operators.
Motivation for the change:
Removing of unused/stale sockets allows for smoother initialization of the operator during start-up.