Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Nov 7, 2024
1 parent cd3aabd commit 3774ecb
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions nexus/src/external_api/http_entrypoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6002,15 +6002,19 @@ impl NexusExternalApi for NexusExternalApiImpl {
async fn support_bundle_list(
rqctx: RequestContext<ApiContext>,
_query_params: Query<PaginatedById>,
) -> Result<HttpResponseOk<ResultsPage<shared::SupportBundleInfo>>, HttpError> {
) -> Result<HttpResponseOk<ResultsPage<shared::SupportBundleInfo>>, HttpError>
{
let apictx = rqctx.context();
let handler = async {
let nexus = &apictx.context.nexus;

let opctx =
crate::context::op_context_for_external_api(&rqctx).await?;

Err(nexus.unimplemented_todo(&opctx, crate::app::Unimpl::Public).await.into())
Err(nexus
.unimplemented_todo(&opctx, crate::app::Unimpl::Public)
.await
.into())
};
apictx
.context
Expand All @@ -6030,7 +6034,10 @@ impl NexusExternalApi for NexusExternalApiImpl {
let opctx =
crate::context::op_context_for_external_api(&rqctx).await?;

Err(nexus.unimplemented_todo(&opctx, crate::app::Unimpl::Public).await.into())
Err(nexus
.unimplemented_todo(&opctx, crate::app::Unimpl::Public)
.await
.into())
};
apictx
.context
Expand All @@ -6050,7 +6057,10 @@ impl NexusExternalApi for NexusExternalApiImpl {
let opctx =
crate::context::op_context_for_external_api(&rqctx).await?;

Err(nexus.unimplemented_todo(&opctx, crate::app::Unimpl::Public).await.into())
Err(nexus
.unimplemented_todo(&opctx, crate::app::Unimpl::Public)
.await
.into())
};
apictx
.context
Expand All @@ -6069,7 +6079,10 @@ impl NexusExternalApi for NexusExternalApiImpl {
let opctx =
crate::context::op_context_for_external_api(&rqctx).await?;

Err(nexus.unimplemented_todo(&opctx, crate::app::Unimpl::Public).await.into())
Err(nexus
.unimplemented_todo(&opctx, crate::app::Unimpl::Public)
.await
.into())
};
apictx
.context
Expand All @@ -6089,7 +6102,10 @@ impl NexusExternalApi for NexusExternalApiImpl {
let opctx =
crate::context::op_context_for_external_api(&rqctx).await?;

Err(nexus.unimplemented_todo(&opctx, crate::app::Unimpl::Public).await.into())
Err(nexus
.unimplemented_todo(&opctx, crate::app::Unimpl::Public)
.await
.into())
};
apictx
.context
Expand Down

0 comments on commit 3774ecb

Please sign in to comment.