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

DM-11931 Cleanup exitStatus handling #43

Merged
merged 5 commits into from Oct 26, 2017
Merged

DM-11931 Cleanup exitStatus handling #43

merged 5 commits into from Oct 26, 2017

Conversation

parejkoj
Copy link
Contributor

No description provided.


If ``doReturnResults`` is `False` the struct contains:

- ``exitStatus``.
- ``exitStatus`: 0 if the task completed successfully, 1 otherwise.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading DM-4141 here it's not "1 otherwise" but "a non-zero value the number of failed dataRefs is passed". Do I read that correctly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For __call__, I believe my statement is correct (at least, it matches what the code in that method does). parseAndRun is what does what you say.

@RobertLuptonTheGood can confirm that this was his intention.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that I intended to return 1 here. As @parejkoj says, parseAndRun adds up the error codes, so it returns the number of failed dataRefs

@parejkoj parejkoj merged commit eb529c1 into master Oct 26, 2017
@ktlim ktlim deleted the tickets/DM-11931 branch August 25, 2018 06:50
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.

None yet

3 participants