Skip to content

Commit

Permalink
fix: pass targetMember as start param for List.allMembers
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
  • Loading branch information
traeok committed Jan 15, 2025
1 parent 97a3c68 commit 75f5ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zosfiles/src/methods/copy/Copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export class Copy {
*/
if(targetMember != undefined && targetFound == true){
const TargetMemberList = await List.allMembers(targetSession, targetDataset,
{attributes: true, maxLength: 1, start: targetDataset, recall: "wait", pattern: targetMember});
{ attributes: true, maxLength: 1, recall: "wait", start: targetMember });
if(TargetMemberList.apiResponse.returnedRows > 0){
targetMemberFound = true;
}
Expand Down

0 comments on commit 75f5ce4

Please sign in to comment.