mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix(core): Address clippy config changes (#2654)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -491,17 +491,17 @@ impl From<QueueStrategy> for bb8::QueueStrategy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "kms"))]
|
#[cfg(not(feature = "kms"))]
|
||||||
impl Into<storage_impl::config::Database> for Database {
|
impl From<Database> for storage_impl::config::Database {
|
||||||
fn into(self) -> storage_impl::config::Database {
|
fn from(val: Database) -> Self {
|
||||||
storage_impl::config::Database {
|
Self {
|
||||||
username: self.username,
|
username: val.username,
|
||||||
password: self.password,
|
password: val.password,
|
||||||
host: self.host,
|
host: val.host,
|
||||||
port: self.port,
|
port: val.port,
|
||||||
dbname: self.dbname,
|
dbname: val.dbname,
|
||||||
pool_size: self.pool_size,
|
pool_size: val.pool_size,
|
||||||
connection_timeout: self.connection_timeout,
|
connection_timeout: val.connection_timeout,
|
||||||
queue_strategy: self.queue_strategy.into(),
|
queue_strategy: val.queue_strategy.into(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user