aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/datastore
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-04-11 18:36:49 +0100
committerChristopher Baines <mail@cbaines.net>2023-04-11 18:37:24 +0100
commitd679fe791aa8d3a8b9f6dac71bd736252885f8e6 (patch)
treea9942b5119eb8606481d444188119e14fca9cdd6 /guix-build-coordinator/datastore
parentdd817097a387db05fbf8036855b7ea7304067e93 (diff)
downloadbuild-coordinator-d679fe791aa8d3a8b9f6dac71bd736252885f8e6.tar
build-coordinator-d679fe791aa8d3a8b9f6dac71bd736252885f8e6.tar.gz
Use underscores for derivation_name
As this is more consistent in the JSON responses. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'guix-build-coordinator/datastore')
-rw-r--r--guix-build-coordinator/datastore/sqlite.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/guix-build-coordinator/datastore/sqlite.scm b/guix-build-coordinator/datastore/sqlite.scm
index f8c65c7..e39ba0d 100644
--- a/guix-build-coordinator/datastore/sqlite.scm
+++ b/guix-build-coordinator/datastore/sqlite.scm
@@ -3355,8 +3355,7 @@ WHERE build_derivation_outputs.derivation_id = :derivation_id
(if (eq? #f result)
`((uuid . ,uuid)
- ;; TODO Change this to derivation_name
- (derivation-name . ,derivation-name)
+ (derivation_name . ,derivation-name)
(derived_priority . ,derived_priority))
(loop (sqlite-step statement))))))))
@@ -3508,8 +3507,7 @@ WHERE allocated_builds.agent_id = :agent_id"
(match-lambda
(#(uuid derivation_name derived_priority)
`((uuid . ,uuid)
- ;; TODO Switch this to derivation_name
- (derivation-name . ,derivation_name)
+ (derivation_name . ,derivation_name)
(derived_priority . ,derived_priority))))
statement)))
(sqlite-reset statement)