mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
10 lines
322 B
Rust
10 lines
322 B
Rust
use crate::{cli::CheckConfigArgs, config, error, observability::prelude::*};
|
|
|
|
pub(crate) async fn run(
|
|
args: CheckConfigArgs,
|
|
) -> Result<(), error::CheckConfigCommand> {
|
|
let _config =
|
|
config::load(args.config.config.as_ref(), args.sandboxed).await?;
|
|
t::info!("Configuration looks good");
|
|
Ok(())
|
|
}
|