Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Update action-client #2356

Merged
merged 1 commit into from
Oct 30, 2020
Merged

Update action-client #2356

merged 1 commit into from
Oct 30, 2020

Conversation

jgrund
Copy link
Member

@jgrund jgrund commented Oct 30, 2020

Update action-client once again to optionally take a uuid that can be
used to bookkeep the request in flight.

In addition, remove invoke_rust_agent_cancelable as it adds an extra
layer of indirection that is more useful in tools calling the client.

Replace it with a cancel_request fn that will take a Uuid ref and
attempt to cancel a remote rpc matching the uuid.

Signed-off-by: Joe Grund jgrund@whamcloud.io


This change is Reviewable

Update action-client once again to optionally take a uuid that can be
used to bookkeep the request in flight.

In addition, remove `invoke_rust_agent_cancelable` as it adds an extra
layer of indirection that is more useful in tools calling the client.

Replace it with a `cancel_request` fn that will take a `Uuid` ref and
attempt to cancel a remote rpc matching the uuid.

Signed-off-by: Joe Grund <jgrund@whamcloud.io>
@jgrund jgrund self-assigned this Oct 30, 2020
@jgrund jgrund marked this pull request as ready for review October 30, 2020 17:20
@jgrund jgrund requested a review from a team October 30, 2020 17:20
@jgrund jgrund requested a review from johnsonw October 30, 2020 19:10
Copy link
Contributor

@johnsonw johnsonw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is a clippy error in main.rs

@jgrund
Copy link
Member Author

jgrund commented Oct 30, 2020

Looks like there is a clippy error in main.rs

Yeah, but not from this patch. I actually think there is a clippy issue inside that macro:

Screen Shot 2020-10-30 at 3 18 40 PM

@jgrund jgrund merged commit 2c6fc50 into master Oct 30, 2020
@jgrund jgrund deleted the refactor-action-client branch October 30, 2020 19:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants