(self: &Arc<Self>, monitor_id: i32)
| 621 | } |
| 622 | |
| 623 | pub async fn delete_monitor(self: &Arc<Self>, monitor_id: i32) -> Result<()> { |
| 624 | let _: bool = self |
| 625 | .call("deleteMonitor", vec![json!(monitor_id)], "/ok", true) |
| 626 | .await?; |
| 627 | |
| 628 | Ok(()) |
| 629 | } |
| 630 | |
| 631 | async fn update_monitor_tags(self: &Arc<Self>, monitor_id: i32, tags: &Vec<Tag>) -> Result<()> { |
| 632 | let new_tags = tags |
no test coverage detected