Skip to content

Commit

Permalink
revert: to function write_checkpoint did not write checkpoint_{index}…
Browse files Browse the repository at this point in the history
…_with_id.json files to the folder
  • Loading branch information
ljankovic-txfusion committed Dec 11, 2024
1 parent 9add728 commit f7f30a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rust/main/hyperlane-base/src/types/gcs_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ impl CheckpointSyncer for GcsStorageClient {
&self,
signed_checkpoint: &SignedCheckpointWithMessageId,
) -> Result<()> {
let object_name = Self::get_checkpoint_key(signed_checkpoint.value.index);
let object_key = Self::get_checkpoint_key(signed_checkpoint.value.index);
let object_name = self.object_path(&object_key);
let data = serde_json::to_vec(signed_checkpoint)?;
self.upload_and_log(&object_name, data).await
}
Expand Down Expand Up @@ -305,4 +306,4 @@ async fn public_landset_no_auth_works_test() {
.await
.unwrap();
assert!(client.get_by_path(LANDSAT_KEY).await.is_ok());
}
}

0 comments on commit f7f30a3

Please sign in to comment.