From ece2d450d77050e858ac3c2b8a29d7e686ab9f7f Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Sun, 22 Nov 2020 16:03:19 +0100 Subject: [PATCH] Rename label of build corpus services --- web/app/tasks/corpus_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/tasks/corpus_utils.py b/web/app/tasks/corpus_utils.py index 52809e5f..2167da46 100644 --- a/web/app/tasks/corpus_utils.py +++ b/web/app/tasks/corpus_utils.py @@ -17,7 +17,7 @@ def create_build_corpus_service(corpus): 'command': 'docker-entrypoint.sh build-corpus', 'constraints': ['node.role==worker'], 'labels': {'origin': 'nopaque', - 'type': 'corpus.prepare', + 'type': 'corpus.build', 'corpus_id': str(corpus.id)}, 'mounts': [corpus_file + ':/root/files/corpus.vrt:ro', corpus_data_dir + ':/corpora/data:rw',