-
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.
- Loading branch information
Showing
3 changed files
with
141 additions
and
90 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
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.