Skip to content

Commit 91dcdb9

Browse files
authored
add app profile to bigtable write requests (#24394)
## Description Describe the changes or additions included in this PR. ## Test plan How did you test the new or updated feature? --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] gRPC: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] Indexing Framework:
1 parent feaa8f6 commit 91dcdb9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/sui-kvstore/src/bigtable/client.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,11 +642,14 @@ impl BigTableClient {
642642
idempotency: None,
643643
});
644644
}
645-
let request = MutateRowsRequest {
645+
let mut request = MutateRowsRequest {
646646
table_name: format!("{}{}", self.table_prefix, table_name),
647647
entries,
648648
..MutateRowsRequest::default()
649649
};
650+
if let Some(ref app_profile_id) = self.app_profile_id {
651+
request.app_profile_id = app_profile_id.clone();
652+
}
650653
let mut response = self.mutate_rows(request).await?;
651654
while let Some(part) = response.message().await? {
652655
for entry in part.entries {

0 commit comments

Comments
 (0)