We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 671829b commit 67d30b3Copy full SHA for 67d30b3
database/src/pool/postgres.rs
@@ -1942,13 +1942,9 @@ where
1942
)
1943
.await
1944
.context("Failed to mark benchmark_request as completed")?;
1945
- // The affected id is returned by the query thus we can use the row's
+ // The affected tag is returned by the query thus we can use the row's
1946
// presence to determine if the request was marked as completed
1947
- if row.is_some() {
1948
- Ok(true)
1949
- } else {
1950
- Ok(false)
1951
- }
+ Ok(row.is_some())
1952
}
1953
1954
async fn mark_benchmark_job_as_completed(
0 commit comments