Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Merge requests
!2270
Remove thumbnail generation from process
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove thumbnail generation from process
remove-thumbnail-gen
into
master
Overview
3
Commits
10
Pipelines
0
Changes
3
Merged
Theo Lesage
requested to merge
remove-thumbnail-gen
into
master
11 months ago
Overview
3
Commits
10
Pipelines
0
Changes
3
Expand
Closes
#1715 (closed)
0
0
Merge request reports
Viewing commit
d2901de3
Show latest version
3 files
+
13
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
d2901de3
Fix broken tests
· d2901de3
Theo Lesage
authored
11 months ago
arkindex/process/serializers/imports.py
+
1
−
6
Options
@@ -474,12 +474,7 @@ class StartProcessSerializer(serializers.Serializer):
)
else
:
if
validated_data
.
get
(
"
worker_activity
"
):
errors
[
"
worker_activity
"
].
append
(
"
The process must have workers attached to handle their activity.
"
)
if
validated_data
.
get
(
"
use_cache
"
):
errors
[
"
use_cache
"
].
append
(
"
The process must have workers attached to use cached results.
"
)
if
validated_data
.
get
(
"
use_gpu
"
):
errors
[
"
use_gpu
"
].
append
(
"
The process must have workers attached to use GPUs.
"
)
errors
[
"
__all__
"
].
append
(
"
The process must have worker runs to be started.
"
)
if
errors
:
raise
ValidationError
(
errors
)
Loading