Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
68e60923
Commit
68e60923
authored
Apr 01, 2020
by
Markus Scheidgen
Browse files
Fix error after merge.
parent
26b1b913
Pipeline
#71916
failed with stages
in 13 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/cli/admin/uploads.py
View file @
68e60923
...
...
@@ -78,7 +78,7 @@ def query_uploads(ctx, uploads):
uploads
=
proc
.
Calc
.
objects
(
**
json_query
).
distinct
(
field
=
"upload_id"
)
else
:
request
=
search
.
SearchRequest
()
request
.
q
=
ES
Q
(
json_query
)
request
.
q
=
es
.
Q
(
json_query
)
request
.
quantity
(
'upload_id'
,
size
=
10000
)
uploads
=
list
(
request
.
execute
()[
'quantities'
][
'upload_id'
][
'values'
])
except
Exception
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment