fix(connection): clone url_params to avoid partial move in influxdb test
This commit is contained in:
1 parent
11ed3a0d3b
commit
23ee0a42a3
1 file changed
+1
-1
@@ -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,
|
||||
)?;
|
||||
|
||||
Reference in new issue
Block a user