Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
pcholakov committed Nov 22, 2024
1 parent d85ff62 commit 38268d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/worker/src/partition/snapshots/repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ impl SnapshotRepository {
&key,
&self.object_store,
)
.await?;
.await?;
debug!(
etag = put_result.e_tag.unwrap_or_default(),
?key,
Expand Down Expand Up @@ -219,7 +219,10 @@ impl SnapshotRepository {
partition_id = partition_id,
));
let latest_json_payload = PutPayload::from(serde_json::to_string_pretty(&latest)?);
let put_result = self.object_store.put(&latest_path, latest_json_payload).await?;
let put_result = self
.object_store
.put(&latest_path, latest_json_payload)
.await?;
debug!(
etag = put_result.e_tag.unwrap_or_default(),
key = ?latest_path,
Expand Down

0 comments on commit 38268d6

Please sign in to comment.