jroachgolf84 opened a new pull request, #51167: URL: https://github.com/apache/airflow/pull/51167
This PR aims to address the issue raised in #51151. When a file failed to exist on the SFTP site, the `SFTPSensor` was still returning `True`. This change checks if the file does in fact exist. If not, it returns an empty list, resulting in the Sensor returning `False` and another poke being executed. closes: #51151 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
