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

Await dir availability while iterating StagedSource [RHELDST-25394] #553

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

negillett
Copy link
Member

scandir in _push_items_for_topdir was reporting path strings as invalid arguments, presumably because they weren't yet available on the OCP environment. This commit places a wait_exist call on the path before doing anything with it. At the very least, we will now be warned if a path is inaccessible prior to failure.

scandir in `_push_items_for_topdir` was reporting path strings as
invalid arguments, presumably because they weren't yet available on
the OCP environment. This commit places a `wait_exist` call on the
path before doing anything with it. At the very least, we will now be
warned if a path is inaccessible prior to failure.
@negillett negillett self-assigned this Aug 6, 2024
@negillett negillett merged commit f9f02cd into release-engineering:master Aug 7, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants