fix(connection): clone url_params to avoid partial move in influxdb test
This commit is contained in:
parent
11ed3a0d3b
commit
23ee0a42a3
|
|
@ -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,
|
||||
)?;
|
||||
|
|
|
|||
Loading…
Reference in New Issue