From 7f37c797b59f193bb9d48395f8400776832c98f5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 5 Jun 2018 10:34:56 +0200 Subject: bin/get-assignment: set `build_slaves`.`is_sane`=1 on handing out an assignment --- bin/get-assignment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/get-assignment') diff --git a/bin/get-assignment b/bin/get-assignment index a57780e..4252765 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -52,8 +52,9 @@ hand_out_assignment() { printf ';\n' printf 'UPDATE `build_slaves`' - printf ' SET `currently_building`=%s' \ + printf ' SET `build_slaves`.`currently_building`=%s,' \ "$1" + printf ' `build_slaves`.`is_sane`=1' # shellcheck disable=SC2154 printf ' WHERE `build_slaves`.`id`=from_base64("%s");\n' \ "$(printf '%s' "${slave_id}" | base64 -w0)" -- cgit v1.2.3-70-g09d2