Skip to content

Commit d7216df

Browse files
committed
rename variable to the same name it come out of the database as
1 parent 518a532 commit d7216df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/src/pool/postgres.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,11 +2161,11 @@ where
21612161
// This is ever-so-slightly grim however it allows us to not
21622162
// have to parse the text representation of the jobs. Which
21632163
// saves a reasonable amount of time to justify doing this.
2164-
let include_parent = it.get::<_, bool>("parent_active");
2164+
let parent_active = it.get::<_, bool>("parent_active");
21652165

21662166
InProgressRequestWithJobs {
21672167
request: (benchmark_request, jobs),
2168-
parent: if include_parent {
2168+
parent: if parent_active {
21692169
// only parse the jobs if we need to include the parent
21702170
let parent_jobs: Vec<BenchmarkJob> = it
21712171
.get::<_, Vec<String>>("parent_jobs")

0 commit comments

Comments
 (0)