mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-31 01:09:23 +00:00
Update crates/notify/src/integration.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -224,7 +224,7 @@ impl NotificationSystem {
|
|||||||
let mut changed = false;
|
let mut changed = false;
|
||||||
if let Some(targets_of_type) = config.0.get_mut(target_type) {
|
if let Some(targets_of_type) = config.0.get_mut(target_type) {
|
||||||
if targets_of_type.remove(&target_id.name).is_some() {
|
if targets_of_type.remove(&target_id.name).is_some() {
|
||||||
info!("Remove target from configuration {}", target_id);
|
info!("Removed target {} from configuration", target_id);
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
if targets_of_type.is_empty() {
|
if targets_of_type.is_empty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user