mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 09:51:29 +00:00
kata-ctl: Fixed format for check release options
Fixed formatting for check release options Fixes: #5345 Signed-off-by: Alex <alee23@bu.edu>
This commit is contained in:
parent
f3091a9da4
commit
8dbfc3dc82
@ -147,11 +147,6 @@ fn get_kata_all_releases_by_url() -> std::result::Result<Vec<Release>, reqwest::
|
||||
Ok(releases)
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
target_arch = "aarch64",
|
||||
target_arch = "powerpc64le",
|
||||
target_arch = "x86_64"
|
||||
))]
|
||||
fn handle_reqwest_error(e: reqwest::Error) -> anyhow::Error {
|
||||
if e.is_connect() {
|
||||
return anyhow!(e).context("http connection failure: connection refused");
|
||||
|
Loading…
Reference in New Issue
Block a user