Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed May 15, 2024
1 parent 496d7d0 commit 3578963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalyst-gateway/bin/src/service/api/health/live_get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ pub(crate) type AllResponses = WithErrorResponses<Responses>;
#[allow(clippy::unused_async)]
pub(crate) async fn endpoint() -> AllResponses {
if is_live() {
Responses::NoContent.into()
} else {
Responses::ServiceUnavailable.into()
} else {
Responses::NoContent.into()
}
}

0 comments on commit 3578963

Please sign in to comment.