Skip to content

Commit a00b5d7

Browse files
d-w-moorealanking
authored andcommitted
[irods/irods#4622] set ReplicaNum to "null" in rulemsiDataObjPhymv.r
Supplying a replica number in the call to msiDataObjPhymv made the test fail. First point of reference: since resolution of irods/irods#4622, not more than one replica exists per storage resource anyway, so no specification of replica number is needed if the source resource for phymv is given. Giving "null" in place of a concrete integer was the solution. Second point of reference: 2f1b1dbe7f621554f4f7fbd12a77ba144f312e50 in irods/irods now enforces that iphymv -S [source resource] and -n [replnum] are incompatible parameters.
1 parent 81964ca commit a00b5d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python_rules/rulemsiDataObjPhymv.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ def main(rule_args, callback, rei):
88

99
callback.writeLine('stdout', 'Replica number ' + replica_number + 'of file ' + source_file + ' is moved from resource ' + source_resource + ' to resource ' + dest_resource)
1010

11-
INPUT *SourceFile="/tempZone/home/rods/forphymv/phymvfile", *DestResource="testallrulesResc", *SourceResource="demoResc", *ReplicaNumber="0"
11+
INPUT *SourceFile="/tempZone/home/rods/forphymv/phymvfile", *DestResource="testallrulesResc", *SourceResource="demoResc", *ReplicaNumber="null"
1212
OUTPUT ruleExecOut

0 commit comments

Comments
 (0)