-
Notifications
You must be signed in to change notification settings - Fork 10
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
plugin: move flux_respond ()
to end of functions
#431
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.
Looks fine but does have any effect other than changing the order of log messages in the event of an error?
flux_respond ()
to end of functionsflux_respond ()
to end of functions
I don't think so. I think this call is supposed to be placed at the end of the callback in the event where there is no error. This commit was actually part of some work on an old (and now closed PR) that was pointed out by @grondo - maybe he could confirm that this is still ok? |
124a50e
to
5c24d21
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #431 +/- ##
=======================================
Coverage 83.39% 83.39%
=======================================
Files 23 23
Lines 1457 1457
=======================================
Hits 1215 1215
Misses 242 242
|
5c24d21
to
775b42a
Compare
@grondo if you have some time this week or next, could you please give this PR a look? |
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! Nice cleanup!
Problem: There are a couple callbacks in the plugin that call flux_respond () before they are done processing. Move these calls to just before the functions call "return".
775b42a
to
5583e5a
Compare
Thanks!! setting MWP here |
Problem
There are a couple callbacks in the plugin that call
flux_respond ()
before they are done processing.This PR moves these calls to just before the functions call
return
.