mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
chore: address Rust 1.88.0 clippy lints (#8498)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -71,8 +71,8 @@ pub fn validate_domain_against_allowed_domains(
|
||||
.map(|glob| glob.compile_matcher().is_match(domain))
|
||||
.map_err(|err| {
|
||||
let err_msg = format!(
|
||||
"Invalid glob pattern for configured allowed_domain [{:?}]! - {:?}",
|
||||
allowed_domain, err
|
||||
"Invalid glob pattern for configured allowed_domain [{allowed_domain:?}]! - {err:?}",
|
||||
|
||||
);
|
||||
#[cfg(feature = "logs")]
|
||||
logger::error!(err_msg);
|
||||
|
||||
Reference in New Issue
Block a user