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

remove empty file mount from yaml config #4351

Open
cg505 opened this issue Nov 13, 2024 · 0 comments
Open

remove empty file mount from yaml config #4351

cg505 opened this issue Nov 13, 2024 · 0 comments

Comments

@cg505
Copy link
Collaborator

cg505 commented Nov 13, 2024

file_mounts = yaml_config.get('file_mounts', {})
# Remove the file mounts added by the newline.
if '' in file_mounts:
assert file_mounts[''] == '', file_mounts['']
file_mounts.pop('')

This is also present in _deterministic_yaml_hash

It's not entirely clear why this is needed, try to remove it.

ref #4289 (comment)

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

No branches or pull requests

1 participant