Skip to content

Commit

Permalink
fixing s3 sensor missing '/'
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Wiedmer committed Aug 27, 2015
1 parent 696d41c commit f62b5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/operators/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def __init__(

def poke(self, context):
hook = hooks.S3Hook(s3_conn_id=self.s3_conn_id)
full_url = "s3://" + self.bucket_name + self.bucket_key
full_url = "s3://" + self.bucket_name + "/" + self.bucket_key
logging.info('Poking for key : {full_url}'.format(**locals()))
if self.wildcard_match:
return hook.check_for_wildcard_key(self.bucket_key,
Expand Down

0 comments on commit f62b5bb

Please sign in to comment.