mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-08 12:18:57 +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:
@@ -147,11 +147,6 @@ fn get_kata_all_releases_by_url() -> std::result::Result<Vec<Release>, reqwest::
|
|||||||
Ok(releases)
|
Ok(releases)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(
|
|
||||||
target_arch = "aarch64",
|
|
||||||
target_arch = "powerpc64le",
|
|
||||||
target_arch = "x86_64"
|
|
||||||
))]
|
|
||||||
fn handle_reqwest_error(e: reqwest::Error) -> anyhow::Error {
|
fn handle_reqwest_error(e: reqwest::Error) -> anyhow::Error {
|
||||||
if e.is_connect() {
|
if e.is_connect() {
|
||||||
return anyhow!(e).context("http connection failure: connection refused");
|
return anyhow!(e).context("http connection failure: connection refused");
|
||||||
|
Reference in New Issue
Block a user