Skip to content
Snippets Groups Projects
Commit bf23c3ab authored by Valentin Rigal's avatar Valentin Rigal
Browse files

Remove farm constraint to build a process

parent 4b630571
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !2233. Comments created here will be created in the context of that merge request.
......@@ -213,8 +213,6 @@ class ProcessBuilder(object):
"""
from arkindex.process.models import ActivityState, ProcessMode
if not self.process.farm_id:
raise ValidationError("Process must have a farm ID to be built")
if self.run > 0 and not self.process.is_final:
raise ValidationError("Cannot run a process that is not in a final state.")
if self.process.mode in (ProcessMode.Local, ProcessMode.Template):
......
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