Skip to content

Commit

Permalink
fix: change-compromised-key
Browse files Browse the repository at this point in the history
  • Loading branch information
hseeberger committed Oct 15, 2023
1 parent 0b46f6f commit 71648a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async fn main() {

async fn run() -> Result<(), Error> {
let dir = env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".to_string());
let key_path = format!("{dir}/secrets/active-road-365118-2eca6b7b8fd9.json");
let key_path = format!("{dir}/secrets/active-road-365118-0214022979ee.json");
let pub_sub_client = PubSubClient::new(key_path, Duration::from_secs(30))?;

let messages = vec!["Hello", "from pub-sub-client"]
Expand Down
2 changes: 1 addition & 1 deletion examples/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async fn main() {

async fn run() -> Result<(), Error> {
let dir = env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".to_string());
let key_path = format!("{dir}/secrets/active-road-365118-2eca6b7b8fd9.json");
let key_path = format!("{dir}/secrets/active-road-365118-0214022979ee.json");
let pub_sub_client = PubSubClient::new(key_path, Duration::from_secs(30))?;

let messages = vec!["Hello", "from pub-sub-client"]
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn test() {
// locally the file must be decrypted.
env::set_var("PUB_SUB_BASE_URL", base_url);
let pub_sub_client = PubSubClient::new(
"secrets/active-road-365118-2eca6b7b8fd9.json",
"secrets/active-road-365118-0214022979ee.json",
Duration::from_secs(30),
);
env::set_var("PUB_SUB_BASE_URL", "");
Expand Down

0 comments on commit 71648a8

Please sign in to comment.