Skip to content

tools/script_shell: Fix implicit all required parameters#1088

Merged
dgageot merged 1 commit intodocker:mainfrom
vvoland:fix-shell
Dec 13, 2025
Merged

tools/script_shell: Fix implicit all required parameters#1088
dgageot merged 1 commit intodocker:mainfrom
vvoland:fix-shell

Conversation

@vvoland
Copy link
Copy Markdown
Contributor

@vvoland vvoland commented Dec 13, 2025

When no required array was explicitly set in the shell tool configuration, the system was intended to default all arguments as required.

However, the implementation was incorrectly creating a slice with length equal to the number of arguments but zero capacity, resulting in an empty required list.

When no required array was explicitly set in the shell tool
configuration, the system was intended to default all arguments as
required.

However, the implementation was incorrectly creating a slice with length
equal to the number of arguments but zero capacity, resulting in an
empty required list.

Signed-off-by: Paweł Gronowski <me@woland.xyz>
@vvoland vvoland requested a review from a team as a code owner December 13, 2025 15:37
@dgageot dgageot merged commit 3e9ccbe into docker:main Dec 13, 2025
5 checks passed
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