Skip to content
Merged
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
6 changes: 3 additions & 3 deletions opsqueue/src/producer/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Client {
pub fn base_url(&self) -> &str {
&self.base_url
}
/// Get the total number of non-failed, non-completed submissionsi currently
/// Get the total number of non-failed, non-completed submissions currently
/// known to the server.
///
/// This uses the `/producer/submissions/count` endpoint.
Expand Down Expand Up @@ -168,9 +168,9 @@ impl Client {

#[derive(thiserror::Error, Debug)]
pub enum InternalProducerClientError {
#[error("HTTP request failed")]
#[error("HTTP request failed: {0}")]
HTTPClientError(#[from] reqwest::Error),
#[error("Error decoding JSON response")]
#[error("Error decoding JSON response: {0}")]
ResponseDecodingError(#[from] serde_json::Error),
}

Expand Down
Loading