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

Provide the full command #503

Merged
merged 1 commit into from
Aug 24, 2022
Merged

Provide the full command #503

merged 1 commit into from
Aug 24, 2022

Conversation

jbliznak
Copy link
Contributor

The original implementation worked ok for one-part command list, eg:

"Cmd": [
    "/opt/eap/bin/openshift-launch.sh"
],

But we can't expect all commands to be given like this, we need to be
able to parse also eg:

"Cmd": [
    "sh",
    "-c",
    "${JBOSS_CONTAINER_WILDFLY_RUN_MODULE}/run"
],

This commits change the default behavior a bit (however, there is no change for those one-part commands) and adds new method to also be able to get command as list.

The original implementation worked ok for one-part command list, eg:
```
"Cmd": [
    "/opt/eap/bin/openshift-launch.sh"
],
```

But we can't expect all commands to be given like this, we need to be
able to parse also eg:
```
"Cmd": [
    "sh",
    "-c",
    "${JBOSS_CONTAINER_WILDFLY_RUN_MODULE}/run"
],
```

This commits change the default behavior a bit and adds new method to
also be able to get command as list.
@mnovak1 mnovak1 merged commit 20a739d into xtf-cz:master Aug 24, 2022
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