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

add a noAction() method to Object and FileWriter to return the noaction flag value #28

Merged
merged 1 commit into from Jul 22, 2014

Conversation

jouvin
Copy link
Contributor

@jouvin jouvin commented Jul 18, 2014

Also update Process to use this new method.

The rationale of this pull request is to provide a uniform way of retrieving the noaction flag value, whether the object is based on CAF::Object or CAF::FileWriter (which is not a CAF::Object).

A typical use case is demonstrated in ncm-named (quattor/configuration-modules-core#243) to avoid printing an error message in unit tests when a file was not updated because of the noaction flag defined in the tests..

…ion flag value.

Update Process to use this new method.
@jrha
Copy link
Member

jrha commented Jul 21, 2014

Looks good!

jrha added a commit that referenced this pull request Jul 22, 2014
add a noAction() method to Object and FileWriter to return the noaction flag value
@jrha jrha merged commit 5247ca8 into quattor:master Jul 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants