File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
crates/router/src/configs Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -491,17 +491,17 @@ impl From<QueueStrategy> for bb8::QueueStrategy {
491
491
}
492
492
493
493
#[ cfg( not( feature = "kms" ) ) ]
494
- impl Into < storage_impl:: config:: Database > for Database {
495
- fn into ( self ) -> storage_impl :: config :: Database {
496
- storage_impl :: config :: Database {
497
- username : self . username ,
498
- password : self . password ,
499
- host : self . host ,
500
- port : self . port ,
501
- dbname : self . dbname ,
502
- pool_size : self . pool_size ,
503
- connection_timeout : self . connection_timeout ,
504
- queue_strategy : self . queue_strategy . into ( ) ,
494
+ impl From < Database > for storage_impl:: config:: Database {
495
+ fn from ( val : Database ) -> Self {
496
+ Self {
497
+ username : val . username ,
498
+ password : val . password ,
499
+ host : val . host ,
500
+ port : val . port ,
501
+ dbname : val . dbname ,
502
+ pool_size : val . pool_size ,
503
+ connection_timeout : val . connection_timeout ,
504
+ queue_strategy : val . queue_strategy . into ( ) ,
505
505
}
506
506
}
507
507
}
You can’t perform that action at this time.
0 commit comments