Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperswitch-bot[bot] committed May 15, 2024
1 parent 18720a8 commit 7d54526
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/router/src/configs/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,16 +761,15 @@ impl Settings<SecuredSecret> {
}

impl Settings<RawSecret> {
#[cfg(feature ="kv_store")]
#[cfg(feature = "kv_store")]
pub fn is_kv_soft_kill_mode(&self) -> bool {
self.kv_config.soft_kill.unwrap_or(false)
}

#[cfg(not(feature ="kv_store"))]
#[cfg(not(feature = "kv_store"))]
pub fn is_kv_soft_kill_mode(&self) -> bool {
false
}

}

#[cfg(feature = "payouts")]
Expand Down

0 comments on commit 7d54526

Please sign in to comment.