Skip to content

Commit d9eb909

Browse files
alallemaMubelotix
andauthored
Update src/client.rs Fix type
Co-authored-by: Mubelotix <[email protected]>
1 parent 051b489 commit d9eb909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl<'a> Client<'a> {
207207
/// # });
208208
/// ```
209209
pub async fn is_healthy(&self) -> bool {
210-
if let Some(health) = self.health().await {
210+
if let Ok(health) = self.health().await {
211211
health.status.as_str() == "available"
212212
} else {
213213
false

0 commit comments

Comments
 (0)