Sebastiaan van Stijn
|
fd3497683d
|
internal/prompt: Confirm: don't wrap stdIn
This was a remnant from when `PromptForConfirmation` accepted a `InStream`;
it was added in [moby@30b8f08], which got left behind when [cli@37ccc00]
updated its signature to accept a plain `io.Reader`.
While updating, also update the comment to provide more context on the reason
we're unconditionally using `os.Stdin` on Windows.
[moby@30b8f08]: https://github.com/moby/moby/commit/30b8f084436a2a1d5e8523fcd2c5ea64cc805224
[cli@37ccc00]: https://github.com/docker/cli/commit/37ccc00d0e14461bcf29e98669773625dfed2fce
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
2026-07-07 14:19:44 +02:00 |
|