Skip to content

Commit

Permalink
fix: using schema_name in redis key
Browse files Browse the repository at this point in the history
  • Loading branch information
Datron committed Jan 24, 2025
1 parent 2387b75 commit 4cb4de3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions crates/context_aware_config/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,10 @@ pub async fn put_config_in_redis(
log::error!("failed to convert cac config to string: {}", e);
unexpected_error!("could not convert cac config to string")
})?;
let config_key = format!("{}::cac_config", *schema_name);
let last_modified_at_key = format!("{}::cac_config::last_modified_at", *schema_name);
let audit_id_key = format!("{}::cac_config::audit_id", *schema_name);
let config_version_key = format!("{}::cac_config::config_version", *schema_name);
let config_key = format!("{}::cac_config", **schema_name);
let last_modified_at_key = format!("{}::cac_config::last_modified_at", **schema_name);
let audit_id_key = format!("{}::cac_config::audit_id", **schema_name);
let config_version_key = format!("{}::cac_config::config_version", **schema_name);
let last_modified = DateTime::to_rfc2822(&Utc::now());
let _ = state
.redis
Expand Down

0 comments on commit 4cb4de3

Please sign in to comment.