Skip to content

Commit 164a996

Browse files
committed
Fix dir_path
1 parent 9be927a commit 164a996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/zos_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def _fetch_pdse(self, src, is_binary, temp_dir=None, encoding=None):
635635
if is_binary:
636636
copy_args["options"] = "-B"
637637

638-
rc = datasets.copy(source=src, target=file_path, **copy_args)
638+
rc = datasets.copy(source=src, target=dir_path, **copy_args)
639639

640640
if rc != 0:
641641
rmtree(dir_path)

0 commit comments

Comments
 (0)