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

launch_shell_job: Move computer to top-level of metadata #98

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

sphuber
Copy link
Owner

@sphuber sphuber commented Jul 22, 2024

The metadata passed to the launch_shell_job is just supposed to expose the same input of the ShellJob and essentially forward it. However, the computer input was expected to be passed nested inside the options namespace, even though it is defined as a top-level metadata input. This makes the inputs for launch_shell_job dfifferent from the ShellJob causing unnecessary confusion. The computer input should now be specified as a top-level metadata input for the launch_shell_job wrapper as well.

The `metadata` passed to the `launch_shell_job` is just supposed to
expose the same input of the `ShellJob` and essentially forward it.
However, the `computer` input was expected to be passed nested inside
the `options` namespace, even though it is defined as a top-level
metadata input. This makes the inputs for `launch_shell_job` dfifferent
from the `ShellJob` causing unnecessary confusion.

The `computer` input should now be specified as a top-level metadata
input for the `launch_shell_job` wrapper as well and passing it nested
inside the `metadata.options` is deprecated.
@sphuber sphuber force-pushed the fix/computer-metadata-option branch from 0fbfb68 to 2ab8219 Compare July 22, 2024 07:52
@sphuber sphuber merged commit 2ab8219 into master Jul 22, 2024
11 checks passed
@sphuber sphuber deleted the fix/computer-metadata-option branch July 22, 2024 09:08
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.

1 participant