Skip to content

Commit

Permalink
[#5] clarify unlink specific replica example
Browse files Browse the repository at this point in the history
  • Loading branch information
trel committed Apr 2, 2020
1 parent a306ebf commit 6cd44f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,8 @@ purposed that all replicas are "good", ie have a status of "1" ::
objects_trimmed += 1
data_object.replicate(dstRescName)
for replica_number in [r.number for r in data_object.replicas]:
data_object.unlink( replNum = replica_number )
options = { kw.DATA_REPL_KW: replica_number }
data_object.unlink( **options )
return objects_trimmed


Expand Down

0 comments on commit 6cd44f5

Please sign in to comment.