Skip to content

Commit

Permalink
add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wcy-fdu committed Feb 14, 2024
1 parent 5ac1797 commit f2bb785
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/src/services/azblob/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ impl AzblobCore {
let req = self.insert_sse_headers(req);

// Set body
// refer to https://learn.microsoft.com/en-us/rest/api/storageservices/put-block-list?
let req_body = {
let block_list = block_ids
.iter()
Expand Down
2 changes: 2 additions & 0 deletions core/src/services/azblob/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ impl oio::AppendWrite for AzblobWriter {
}
}

#[cfg_attr(not(target_arch = "wasm32"), async_trait)]
#[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
#[async_trait]
impl oio::BlockWrite for AzblobWriter {
async fn write_once(&self, size: u64, body: AsyncBody) -> Result<()> {
Expand Down

0 comments on commit f2bb785

Please sign in to comment.