mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-25 11:25:56 +00:00
fix(plugins): trigger after_config_edit crash injection regardless of enable_key presence
This commit is contained in:
1 parent
49d1ae75ab
commit
aff7659625
1 file changed
+2
-2
@@ -788,8 +788,8 @@ pub fn install(
|
||||
}
|
||||
}
|
||||
}
|
||||
check_crash_injection("after_config_edit");
|
||||
}
|
||||
check_crash_injection("after_config_edit");
|
||||
|
||||
tx.set_phase(TransactionPhase::Validating)?;
|
||||
check_crash_injection("before_commit");
|
||||
@@ -860,9 +860,9 @@ pub fn set_enabled(server: &Path, id: &str, enabled: bool) -> Result<()> {
|
||||
}
|
||||
}
|
||||
}
|
||||
check_crash_injection("after_config_edit");
|
||||
}
|
||||
}
|
||||
check_crash_injection("after_config_edit");
|
||||
|
||||
tx.set_phase(TransactionPhase::Validating)?;
|
||||
check_crash_injection("before_commit");
|
||||
|
||||
Reference in new issue
Block a user