From 645c7fd0cce1883bc067cae94c45f60b6dffc4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 27 Dec 2023 00:56:40 +0100 Subject: [PATCH] fix workername formatting --- buildbot_nix/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_nix/worker.py b/buildbot_nix/worker.py index 5fc1fd7..8ddb093 100644 --- a/buildbot_nix/worker.py +++ b/buildbot_nix/worker.py @@ -39,7 +39,7 @@ def setup_worker( basedir.mkdir(parents=True, exist_ok=True, mode=0o700) hostname = socket.gethostname() - workername = f"{hostname}-{id:03}" + workername = f"{hostname}-{builder_id:03}" keepalive = 600 umask = None maxdelay = 300