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 3578963 commit f3c5e42
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::ServiceUnavailable.into()
} else {
Responses::NoContent.into()
} else {
Responses::ServiceUnavailable.into()
}
}

0 comments on commit f3c5e42

Please sign in to comment.