Skip to content

Commit

Permalink
availability_read set available automatically
Browse files Browse the repository at this point in the history
Corrected spacing and style
  • Loading branch information
juanpablosalas committed Feb 3, 2025
1 parent 966a0a9 commit 93e1f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/rucio_client/scripts/setSiteAvailability
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ print("Skipping RSEs: %s" % skip_rses)
for rse, available in available_map.items():
try:
if not DRY_RUN:
rclient.update_rse(rse, {"availability_write": available, "availability_delete": available})
rclient.update_rse(rse, {"availability_write": available, "availability_delete": available, "availability_read": available})
print('Setting availability for %s to %s' % (rse, available))
except Exception as e: # Should never be the case
print('Failed to update RSE %s, Error %s' % (rse, e))
Expand Down

0 comments on commit 93e1f85

Please sign in to comment.