ok clippy

This commit is contained in:
cy 2025-04-14 13:28:04 -04:00
parent f304dae207
commit b47a778b9e
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts

View file

@ -125,13 +125,13 @@ impl PathInfo {
} }
pub async fn check_if_already_exists(&self, s3_client: &s3::Client, bucket: String) -> bool { pub async fn check_if_already_exists(&self, s3_client: &s3::Client, bucket: String) -> bool {
!s3_client s3_client
.head_object() .head_object()
.bucket(bucket) .bucket(bucket)
.key(format!("{}.narinfo", self.digest())) .key(format!("{}.narinfo", self.digest()))
.send() .send()
.await .await
.is_err() .is_ok()
} }
} }