Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Stream fence and trim commands #46

Merged
merged 4 commits into from
Dec 5, 2024
Merged

Conversation

vrongmeal
Copy link
Member

Resolves: #33

Resolves: #33

Signed-off-by: Vaibhav Rabber <[email protected]>
@vrongmeal vrongmeal requested a review from a team as a code owner December 4, 2024 17:45
src/error.rs Outdated Show resolved Hide resolved
@@ -90,7 +94,7 @@ impl std::fmt::Display for ServiceErrorContext {

/// Error for holding relevant info from `tonic::Status`
#[derive(thiserror::Error, Debug, Default)]
#[error("{status}: \n{message}")]
#[error("{status}:\n {message}")]
Copy link
Member

Choose a reason for hiding this comment

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

the space there helps look like an inline, does it mess up with the output

Copy link
Member Author

Choose a reason for hiding this comment

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

The space was in the wrong place, this should fix it :)

Signed-off-by: Vaibhav Rabber <[email protected]>
src/main.rs Outdated Show resolved Hide resolved
..Default::default()
ClientError::Conversion(conv) => Self {
message: conv.to_string(),
status: "Failed to convert SDK type".to_string(),
Copy link
Member

Choose a reason for hiding this comment

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

Ah I meant to also include the underlying message conv, we shouldn't throw away the context.

Copy link
Member Author

Choose a reason for hiding this comment

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

conv is the message here

Copy link
Member

Choose a reason for hiding this comment

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

oh doh, my original complaint is not valid ;P

Signed-off-by: Vaibhav Rabber <[email protected]>
@vrongmeal vrongmeal merged commit c9dec84 into main Dec 5, 2024
2 checks passed
@vrongmeal vrongmeal deleted the vrongmeal/fence-trim branch December 5, 2024 02:41
@vrongmeal vrongmeal mentioned this pull request Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add commands for command records
3 participants