fix(connection): clone url_params to avoid partial move in influxdb test

This commit is contained in:
t8y2 committed 2026-06-26 18:17:51 +08:00
1 parent 11ed3a0d3b
commit 23ee0a42a3
1 file changed
+1 -1
+1 -1
View File
@@ -779,7 +779,7 @@ pub async fn test_connection(state: State<'_, Arc<AppState>>, config: Connection
&url,
username,
password,
config.url_params,
config.url_params.clone(),
Some(&config.ca_cert_path),
connect_timeout,
)?;