mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-31 08:23:34 +00:00
fix: adapt cli runtime branch after rebase
This commit is contained in:
@@ -41,7 +41,7 @@ pub async fn snapshot(
|
||||
schema_name: Option<&str>,
|
||||
) -> Result<SchemaSnapshot, String> {
|
||||
let config = {
|
||||
let configs = state.configs.lock().await;
|
||||
let configs = state.configs.read().await;
|
||||
configs.get(connection_id).cloned().ok_or("Connection config not found")?
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user