Skip to content

Commit

Permalink
Update progenitor to bc0bb4b
Browse files Browse the repository at this point in the history
  • Loading branch information
bnaecker committed Feb 15, 2024
1 parent 8ca8bdd commit bc8897f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 43 deletions.
61 changes: 25 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion clients/dns-service-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ pub fn is_retryable(error: &DnsConfigError<crate::types::Error>) -> bool {
| DnsConfigError::InvalidResponsePayload(_, _)
| DnsConfigError::UnexpectedResponse(_)
| DnsConfigError::InvalidUpgrade(_)
| DnsConfigError::ResponseBodyError(_) => return false,
| DnsConfigError::ResponseBodyError(_)
| DnsConfigError::PreHookError(_) => return false,
DnsConfigError::ErrorResponse(response_value) => response_value,
};

Expand Down
3 changes: 2 additions & 1 deletion common/src/api/external/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@ impl<T: ClientError> From<progenitor::progenitor_client::Error<T>> for Error {
)
| progenitor::progenitor_client::Error::UnexpectedResponse(_)
| progenitor::progenitor_client::Error::InvalidUpgrade(_)
| progenitor::progenitor_client::Error::ResponseBodyError(_) => {
| progenitor::progenitor_client::Error::ResponseBodyError(_)
| progenitor::progenitor_client::Error::PreHookError(_) => {
Error::internal_error(&e.to_string())
}
// This error represents an expected error from the remote service.
Expand Down
3 changes: 2 additions & 1 deletion sled-agent/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,8 @@ impl InstanceRunner {
| nexus_client::Error::InvalidResponsePayload(..)
| nexus_client::Error::UnexpectedResponse(_)
| nexus_client::Error::InvalidUpgrade(_)
| nexus_client::Error::ResponseBodyError(_) => {
| nexus_client::Error::ResponseBodyError(_)
| nexus_client::Error::PreHookError(_) => {
BackoffError::permanent(Error::Notification(
err,
))
Expand Down
6 changes: 2 additions & 4 deletions workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ gateway-messages = { git = "https://github.com/oxidecomputer/management-gateway-
generic-array = { version = "0.14.7", default-features = false, features = ["more_lengths", "zeroize"] }
getrandom = { version = "0.2.10", default-features = false, features = ["js", "rdrand", "std"] }
group = { version = "0.13.0", default-features = false, features = ["alloc"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14.3", features = ["raw"] }
hashbrown-594e8ee84c453af0 = { package = "hashbrown", version = "0.13.2" }
hashbrown = { version = "0.14.3", features = ["raw"] }
hex = { version = "0.4.3", features = ["serde"] }
hmac = { version = "0.12.1", default-features = false, features = ["reset"] }
hyper = { version = "0.14.27", features = ["full"] }
Expand Down Expand Up @@ -161,8 +160,7 @@ gateway-messages = { git = "https://github.com/oxidecomputer/management-gateway-
generic-array = { version = "0.14.7", default-features = false, features = ["more_lengths", "zeroize"] }
getrandom = { version = "0.2.10", default-features = false, features = ["js", "rdrand", "std"] }
group = { version = "0.13.0", default-features = false, features = ["alloc"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14.3", features = ["raw"] }
hashbrown-594e8ee84c453af0 = { package = "hashbrown", version = "0.13.2" }
hashbrown = { version = "0.14.3", features = ["raw"] }
hex = { version = "0.4.3", features = ["serde"] }
hmac = { version = "0.12.1", default-features = false, features = ["reset"] }
hyper = { version = "0.14.27", features = ["full"] }
Expand Down

0 comments on commit bc8897f

Please sign in to comment.