mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-29 21:27:26 -05:00
deleting ResourceSync cleans up open alerts
use .then in alert cleanup
This commit is contained in:
@@ -52,7 +52,7 @@ pub fn init(config: &LogConfig) -> anyhow::Result<()> {
|
||||
(StdioLogMode::Json, None) => registry
|
||||
.with(tracing_subscriber::fmt::layer().json())
|
||||
.try_init(),
|
||||
|
||||
|
||||
(StdioLogMode::None, None) => Ok(()),
|
||||
}
|
||||
.context("failed to init logger")
|
||||
|
||||
Reference in New Issue
Block a user