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 methods + tests for host muting #67

Merged
merged 1 commit into from
May 27, 2015
Merged

Add methods + tests for host muting #67

merged 1 commit into from
May 27, 2015

Conversation

wang-arthur
Copy link
Contributor

No description provided.

@@ -231,6 +231,33 @@ def get_all_downtimes(options = {})
end
end

#
# HOST MUTING
Copy link
Member

Choose a reason for hiding this comment

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

Shall we have a separate host.rb file ?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think that would make sense if we interact with Hosts as objects - it appears that these methods are added to interact with the /monitor api interface.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed; this endpoint is actually a convenience wrapper around downtime scheduling.

@yannmh
Copy link
Member

yannmh commented May 22, 2015

Great, thanks @wang-arthur. Looks ready to go to me.

wang-arthur pushed a commit that referenced this pull request May 27, 2015
Add methods + tests for host muting
@wang-arthur wang-arthur merged commit 2475833 into master May 27, 2015
@wang-arthur wang-arthur deleted the add_host_muting branch May 27, 2015 15:03
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