Skip to content

Commit

Permalink
States: unused subscription name. Fixes rucio#6345
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderrichards authored and bari12 committed Jan 23, 2024
1 parent b89a554 commit a6f76e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rucio/web/rest/flaskapi/v1/subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def get(self, account, name=None):
description: Not acceptable
"""
def generate(vo):
for row in list_subscription_rule_states(account=account, vo=vo):
for row in list_subscription_rule_states(name=name, account=account, vo=vo):
yield dumps(row, cls=APIEncoder) + '\n'

return try_stream(generate(vo=request.environ.get('vo')))
Expand Down

0 comments on commit a6f76e6

Please sign in to comment.