-
Notifications
You must be signed in to change notification settings - Fork 36
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: send signal for before getting script #138
Conversation
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.
We are already sending the signal in DataVrrps()
- we only need to reorder the execution by first data and then the script in getKeepalivedStats()
func or extract the signal call from the funcs.
Yeah, I noticed. It's a bad idea that we rely on the order of execution. Each function should be able to respond correctly on its own. |
I guess we already tried to do that but the fact is the |
Yes. I think this could be a better impl for now. Let me know what you think. |
Signed-off-by: Mehdi Khoshnoodi <mehdy.khoshnoody@gmail.com>
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
Fixes #135