Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly build URL to retrieve logs independently from system #26337

Merged
merged 1 commit into from
Sep 11, 2022

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Sep 11, 2022

The previous way of building the path depended on the OS path but it was really used to build the URL so we should use urllib instead of os.path.join.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

The previous way of building the path depended on the OS path
but it was really used to build the URL so we should use
urllib instead of os.path.join.
@potiuk potiuk added this to the Airflow 2.4.0 milestone Sep 11, 2022
@potiuk potiuk merged commit 1838602 into apache:main Sep 11, 2022
@potiuk potiuk deleted the fix-proper-log-url-building branch September 11, 2022 17:05
potiuk added a commit that referenced this pull request Sep 11, 2022
The previous way of building the path depended on the OS path
but it was really used to build the URL so we should use
urllib instead of os.path.join.

(cherry picked from commit 1838602)
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Sep 13, 2022
jedcunningham pushed a commit to astronomer/airflow that referenced this pull request Sep 19, 2022
…#26337)

The previous way of building the path depended on the OS path
but it was really used to build the URL so we should use
urllib instead of os.path.join.

(cherry picked from commit 1838602)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:logging type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants