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

Added get_task and enabled? method #17

Merged

Conversation

Vasu1105
Copy link

@Vasu1105 Vasu1105 commented Mar 12, 2018

Added method get_task which will return existing task. And method to check whether task is enabled.

In library if we have to get the current task we have to use activate method. Which actually enables the task so to just to get existing task I have added get task method.

enabled? method added to see if the given task is enabled or not.

Signed-off-by: vasu1105 vasundhara.jagdale@msystechnologies.com

Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com>
@Vasu1105 Vasu1105 force-pushed the vasundhara/added_method_new_methods branch from 8de29ea to 1e8030d Compare March 12, 2018 06:13
@Vasu1105
Copy link
Author

@btm and @djberg96 could you please review and merge.

@djberg96
Copy link
Collaborator

@Vasu1105 LGTM. I think my merging days are over, however. I'll leave that to @btm. :)

@btm btm merged commit c3b2910 into chef:ole Mar 15, 2018
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.

3 participants