-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enh: ability to delete a single downtime
This patch bring the ability to delete a single downtime as opposed to all the downtimes of an host or service in the current implementation, and remains the default behavior. This is done by simply providing the parameter `downtime_id` to the `/downtime` endpoint when `action=delete`. Also re-indented some code for better readability and removed Python 2.6 test from Travis configuration as this is no more available.
- Loading branch information
Showing
4 changed files
with
141 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- "2.6" | ||
|
||
install: | ||
- "[ -d test ] && ./test/setup_module_test.sh || : " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.