-
Notifications
You must be signed in to change notification settings - Fork 2.7k
APIv2 - wrong command and args for created container #8440
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
Conversation
@mheon You was right. It was the place you have pointed at |
Related to #7927 |
All kinds of test unhappiness, not sure if it's related. |
Theory: the existing code is correct, but we're getting an entrypoint of an empty array (instead of nil), even when the client doesn't pass the entrypoint parameter in the input. |
@mheon I've seen empty string in entrypoint during debug (in Intellij Idea) AFAICR . I'll try to advance my go skills and debug failing test to see where the problem is. |
@mheon you was right. Empty value can be provided for entrypoint signaling the image entry point should be overridden. |
use nil instead of empty string as default value for entrypoint in ContainerCLIOpts - empty string signifies user wants to override image entry point value Signed-off-by: Petr Sakař <[email protected]>
LGTM |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: psakar, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
fix wrong check for entrypoint which caused wrong path and args for created container
fixes #8433