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

Fix deletion of augeas elements #14

Merged
merged 2 commits into from
Dec 5, 2016

Conversation

joseivanlopez
Copy link
Contributor

When nil is passed to AugeasTree#delete, all elements are removed. Fix method to control when nil is passed.

#13 (comment)

- Avoid remove all when nil is passed
@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 74.426% when pulling 58d866d on joseivanlopez:fix_delete into 90c0ee7 on config-files-api:master.

@@ -1,4 +1,10 @@
-------------------------------------------------------------------
Mon Dec 5 15:38:36 UTC 2016 - joseivanlopez@gmail.com

- fix deletion of augeas elements
Copy link
Contributor

Choose a reason for hiding this comment

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

id is needed, you can reuse bsc from previous changelog entry

Copy link
Contributor

Choose a reason for hiding this comment

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

and please be more verbose in changes. Maybe something like fix regression when passing nil to AugeasTree#delete

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 74.426% when pulling d8dac9f on joseivanlopez:fix_delete into 90c0ee7 on config-files-api:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 74.426% when pulling d8dac9f on joseivanlopez:fix_delete into 90c0ee7 on config-files-api:master.

@jreidinger
Copy link
Contributor

LGTM

@jreidinger jreidinger merged commit cfe3e51 into config-files-api:master Dec 5, 2016
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