Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion API_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
abbeb08e4bfa1d11eeb1fd03c8f134a129baac20
c0d88207991fde1e7e86f0fa63f48c892bd94a54
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ impl OperationClient {
self.service.call(call).await
}
/// Waits until an operation is done or `timeout` has passed, whichever
/// comes first, and returns it as it is then.
/// comes first, and returns it as it is then. It only reads, so a client
/// may repeat it after a transport error.
pub async fn wait_operation(
&self,
request: WaitOperationRequest,
Expand All @@ -496,7 +497,8 @@ impl OperationClient {
crate::Method::POST,
format!("/v1beta1/{p0}:wait"),
)
.with_body(body);
.with_body(body)
.idempotent();
self.service.call(call).await
}
}
Loading