Skip to content
Snippets Groups Projects
Commit 16c5a31e authored by Manon Blanco's avatar Manon Blanco
Browse files

Use `is_read_only` to allow/forbid to update Worker Activity

parent 5dd605a6
No related branches found
No related tags found
1 merge request!387Use `is_read_only` to allow/forbid to update Worker Activity
Pipeline #127529 passed
......@@ -136,7 +136,7 @@ class ElementsWorker(
Whether or not WorkerActivity support has been enabled on the DataImport
used to run this worker.
"""
if self.args.dev:
if self.is_read_only:
return False
assert (
self.process_information
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment