-
Notifications
You must be signed in to change notification settings - Fork 557
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
fix: Clear defaultArgs
on withEntrypoint
by default
#6280
fix: Clear defaultArgs
on withEntrypoint
by default
#6280
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
b647f2f
to
3f5643e
Compare
defaultArgs
on withEntrypoint
by defaultdefaultArgs
on withEntrypoint
by default
After dagger/dagger#6280 `WithDefaultArgs` is cleared by default when `WithEntrpoint` is set. Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
3f5643e
to
ef50424
Compare
ef50424
to
2c85160
Compare
LGTM! Not a blocker: but should this behavior also apply to |
Yeah, that's a good point! |
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This partially reverts commit e76aaf92d2e00d6c8ee6059bca514c53c7c047ca. Will make a separate PR for merging after release. Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
d890892
to
36e111b
Compare
After dagger/dagger#6280 `WithDefaultArgs` is cleared by default when `WithEntrpoint` is set. Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
Fixes #6044
What?
When
Container.withEntrypoint
is set, it will clearContainer.defaultArgs
, unlesswithEntrypoint(args: [...], keepDefaultArgs: true)
is set.Breaking change
May have low impact since in most cases users are probably erasing
defaultArgs
manually. Only breaks for users that change the entrypoint but depend on the default args remaining the same.