Skip to content

Commit

Permalink
Fix operator refrence in example_sftp_to_gcs.py (#31096)
Browse files Browse the repository at this point in the history
* The naming of the variable seems incorrect 

renamed the variable name move_specific_files_from_gcs_to_sftp to move_specific_files_from_sftp_to_gcs

* fix the var name in the chain

---------

Co-authored-by: Hussein Awala <[email protected]>
  • Loading branch information
atul-b-raut87 and hussein-awala authored May 5, 2023
1 parent c99d2d2 commit 16debb0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
# [END howto_operator_sftp_to_gcs_copy_directory]

# [START howto_operator_sftp_to_gcs_move_specific_files]
move_specific_files_from_gcs_to_sftp = SFTPToGCSOperator(
move_specific_files_from_sftp_to_gcs = SFTPToGCSOperator(
task_id="dir-move-specific-files-sftp-to-gcs",
source_path=f"{FILE_LOCAL_PATH}/{SUBDIR}/*.bin",
destination_bucket=BUCKET_NAME,
Expand All @@ -112,7 +112,7 @@
copy_file_from_sftp_to_gcs,
move_file_from_sftp_to_gcs_destination,
copy_directory_from_sftp_to_gcs,
move_specific_files_from_gcs_to_sftp,
move_specific_files_from_sftp_to_gcs,
# TEST TEARDOWN
delete_bucket,
)
Expand Down

0 comments on commit 16debb0

Please sign in to comment.