Skip to content

Commit

Permalink
Merge pull request rucio#4136 from ericvaandering/rdid_validate
Browse files Browse the repository at this point in the history
Validate against r_dids instead of dids
  • Loading branch information
bari12 committed Nov 23, 2020
2 parents e59dc5f + df6b660 commit 51dd4f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rucio/api/replica.py
Expand Up @@ -23,6 +23,7 @@
# - Luc Goossens <luc.goossens@cern.ch>, 2020
# - Patrick Austin, <patrick.austin@stfc.ac.uk>, 2020
# - Benedikt Ziemons <benedikt.ziemons@cern.ch>, 2020
# - Eric Vaandering <ewv@fnal.gov>, 2020
#
# PY3K COMPATIBLE

Expand Down Expand Up @@ -321,7 +322,7 @@ def list_dataset_replicas_bulk(dids, vo='def'):
:returns: A list of dict dataset replicas
"""

validate_schema(name='dids', obj=dids, vo=vo)
validate_schema(name='r_dids', obj=dids, vo=vo)
names_by_scope = dict()
for d in dids:
if d['scope'] in names_by_scope:
Expand Down

0 comments on commit 51dd4f0

Please sign in to comment.