fix(fmt): reformat storage.rs map_err closure to satisfy rustfmt line-length rule
All checks were successful
Test / frontend-tests (pull_request) Successful in 1m47s
Test / frontend-typecheck (pull_request) Successful in 1m55s
PR Review Automation / review (pull_request) Successful in 4m21s
Test / rust-fmt-check (pull_request) Successful in 13m19s
Test / rust-clippy (pull_request) Successful in 14m53s
Test / rust-tests (pull_request) Successful in 17m15s

This commit is contained in:
Shaun Arman 2026-06-22 19:02:28 -05:00
parent 754960683c
commit 9eac746f05

View File

@ -43,10 +43,12 @@ pub async fn list_storage_content_iso(
ticket: &str, ticket: &str,
) -> Result<Vec<serde_json::Value>, String> { ) -> Result<Vec<serde_json::Value>, String> {
let path = format!("nodes/{}/storage/{}/content", node, storage); let path = format!("nodes/{}/storage/{}/content", node, storage);
let response: serde_json::Value = client let response: serde_json::Value = client.get(&path, Some(ticket)).await.map_err(|e| {
.get(&path, Some(ticket)) format!(
.await "Failed to list storage content for {}/{}: {}",
.map_err(|e| format!("Failed to list storage content for {}/{}: {}", node, storage, e))?; node, storage, e
)
})?;
response response
.as_array() .as_array()